View Single Post
  #2  
Old 03-20-2008, 09:49 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The position/rotation values you pass to cave.update() need to be in the same coordinate system as the position values used to specify the wall corners. These are usually the physical coordinates from your tracking system.

The position/rotation of the viewpoint is used for navigation through the virtual world. These values have no relation to the physical tracker units.

When setting up a cave you should use the raw position of your tracker to measure the wall corners. Then at run-time you pass the raw position of your tracker to the cave.update() function. Your keyboard navigation should NOT affect the position values passed to cave.update(), it should only affect the values used to update viz.MainView.
Reply With Quote