Added object rotation and tested it quickly.