View Single Post
  #2  
Old 05-05-2008, 12:22 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
What you have should work. If you have collision enabled, then you will need to temporarily disable collisions when teleporting the viewpoint.
Code:
viz.collision(0)
viz.MainView.translate(1,0,1)
viz.collision(1)
If you have linked a sensor to the viewpoint, then you will need to apply an offset to the link, instead of translating the viewpoint.
Reply With Quote