Rotation of Orthographic Camera
问题 I am able to rotate camera with this code camera.zoom = 3//in constructor if(camera.zoom>1) { camera.zoom-=0.01f; camera.rotate(15); } this is done in render, Now zooming effect works properly but when zooming completes my screen is stay rotated with current angle. like below. I want that my screen stops after zooming at 0 degree. 回答1: In your code snippet **camera.zoom=3;** and in each iteration you are zooming camera by 0.01 till camera.zoom > 1 so you have total 20 iteration for zooming