If you want to rotate the whole scene during navigation around a pivot that is not the origin ("center of rotation" for a given VRML node is something else), we have several ways how to achieve this effect:
1. Create a viewpoint that looks at the object (so that the object is around the center of the VR window). Then, observing the object can be done best with keyboard by pressing "CTRL + Arrow keys".
2. See the model ‘vr_octavia’. In its lower part, we have implemented a way how you can control Viewpoint orientation from Simulink. Moving viewpoint so that it orbits around an object should be also simple.
3. The ‘SpaceMouse’ Input block (and corresponding MATLAB ‘vrspacemouse’ object) provides way how to control Viewpoint using Spacemouse. (See the "vrtkoff_spacemouse" demo).
Best Answer