Smoothly rotates the object from current rotation to a target Y rotation
The object with the setRotationY method
The final angle in degrees
Total time for the animation in milliseconds
Smoothly rotates the object from current rotation to a target Y rotation