Vizconnect and MainView
I have a vizard script that makes frequent use of the viz.MainView object and its functions, including setting its position/euler/velocity, getting the MainView's position/euler, and running actions on the MainView (specifically vizact.spinTo). However, I need to adapt this script to now function with user input in the form of a joystick and Inertial Labs orientation tracker, as well as display the scene on an nVisor ST50. This seems simplest to do using vizconnect, yet utilizing vizconnect, to my neverending frustration, disables the ability to control the camera with viz.MainView. I've looked at the forum and found the thread on how to control the display's position and partial orientation using viewpoints (I couldn't get the example code to reset the pitch), but nothing on how I might find the display's current position/orientation or how I might apply actions to it, like vizact.spinTo. Would it be easier to perhaps not use vizconnect at all?
|