WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 09-07-2004, 10:34 AM
mspusch mspusch is offline
WorldViz Team Member
 
Join Date: Feb 2003
Posts: 224
Hi Jeremy,

viz.translate(viz.HEAD_POS) is mostly there for backwards compatibility. It will translate the head position relatively to the current position.

viewpoint.translate will translate the head position either absolutely or relatively, depending on the optional fourth parameter. (The default is absolute)

viewpoint.move will translate the head position relative to the current orientation. So the following will move the viewpoint forward by 1 meter, no matter what the orientation is:
Code:
viewpoint.move(0,0,1)
Hope that clears it up
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:53 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC