Hi,
I am trying to rotate the camera on button click (something like 360-degree rotation), I want to rotate the camera in the same direction regardless of its position. I was able to achieve this by applying camera.translateX() in the animation frame. Since I’m using translation, the camera moves away from the object after a few seconds. Is there a way in which I could keep the distance between the camera and the object the same?