View Single Post
  #4  
Old 08-11-2010, 10:14 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Do you want to offset the viewpoint linked to tracking data? If so, take a look at the following code. Using the <link>.postTrans and <link>postEuler operators, the viewpoint is offset 1 meter in height and 45 degrees in yaw from the tracking data.
Code:
link = viz.link(tracker,viz.MainView)
link.postTrans([0,1,0])	            
link.postEuler([45,0,0])
Reply With Quote