View Single Post
  #2  
Old 08-01-2008, 12:46 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
When using the CaveView object, you don't need to manually link it to the viewpoint, it automatically does that for you. In most cases, creating a CaveView object is no different than simply linking your tracker to the viewpoint.

The CaveView object comes in handy when you need to move the virtual viewpoint away from the origin. In this case, you can treat the cave view object like a standard node object and use the setPosition, setEuler, etc.. methods to move the viewpoint around in your virtual world while still being linked to the tracker. The vizcave section of the documentation has some sample code that shows how to use the CaveView object.
Reply With Quote