Rotate Viewpoint 360 Around Point/Object
I am looking at a vizshape.addBox in my Vizard environment and would like to smoothly rotate the viewpoint 360 degrees around this point to show the user all sides. I am not that familiar with 3D rotations, but I believe I only want to change the yaw for this to happen correctly. I have tried all sorts of different spin, goto, and setEuler combinations but nothing works as I would like.
I can get the position of the object with the getPosition function, so I am hoping to use a combination of this position and another function to solve this problem.
Any assistance would be greatly appreciated. Also, please feel free to ask for more information.
Chris
|