I am trying to set up a orbit camera that can focus on points of the model. I am trying to achieve this by combining the free cam and the OnClickMoveToPosition components but when I focus on a position then rotate the camera it does not reposition to the targeted position unless I zoom out does anyone have any suggestions on how to either fix this issue or any other suggestions on setting up a orbit camera with focus points.
Ty in advance!
I am not sure to understand the issue. If you try the free_camera_demo scene, there is a button to move the camera to a specific position, rotation. After each transition you are able to move the camera again.
Please send a video demo?
I am using a modified version of the script used on that button to drive the camera to the correct position and orientation. It just focuses on one transform rather than a list and uses a specified distance instead of a random one. So I am essentially using the script you are speaking of it does move the camera to a specific position and rotation, but when the user is already in position and at that target distance it completely ignores setting the rotation back to -targetObj.forward.