i have a issue that the view need to ratate around by the point mouse clicked. i set the point to the camera‘s focus .so the view is exactly rotating the point ,but the change of focus also caused the center of the view changed , so all the models relative positions in the view had changed.
I wanted to fix the view even after I change the focus of the camera. how to fix the view after I change the focus of the camera.
As far as I understand the logic of a camera, if you shift the camera’s focus, the view changes accordingly, yes? Like, if you turn your head left, you see the stuff to your left. This is sort of the expected behavior. Either this or I didn’t quite understand what you want. Are you trying to rotate just the selected actor about its center?
thank you for your reply.
i want to rotate around the mouse click point , but when the mouse click down, all actors int the scene don’t change their relative positions.
if i only rotate the camera,don’t change focus,it couldn‘t finish the above function.