We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.
The “look at” parameter specifies a 3d point where the camera should look at after the movement is done. If you want to keep the camera’s orientation the same then you can calculate the “look at” parameter by adding together the camera’s current direction/orientation vector and the new position to move to.
I attached a test demo, where you can look around via the left mouse button and move by clicking the plane with the right mouse button.
Hope this helps!
Implemented as follows. The only thing I could not implement a smooth movement of the camera from point A to click point. There is a node “tween camera to”. But I don’t understand what to put in “look at” input.
Hello. Right now, camera movement doesn’t really look like human movement. Is it possible to add motion only on the X and Y axes? At the same time so that the camera after moving looks in the same direction as before.