Is there a way to make the free camera orbit around an object at a uniform speed?
JJoeDerpz
- Sep 9, 2022
- Joined Aug 24, 2022
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.
https://drive.google.com/file/d/1iKxgNXvk35CZANB2tDJ-zN3wJUtlaiW-/view?usp=sharing
I am running into an issue with the graphics raycaster on 3d canvas's using the free cam. When the 3d canvas is enabled the free cam inputs stop working unless they are outside the bounds of the 3d canvas. If the canvas or graphics raycaster is turned off the inputs work again.
Anthony
is there any updates on this I am trying to use free cam + OnClickMoveToObjPosition together to focus on points of a 3d model. I would like to create a orbit camera that can focus on positions. It works pretty well together but I notice that it prioritizes distance over position and rotation. When I click the focus button it does not go to the position unless the camera has zoomedI 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!