View Single Post
  #2  
Old 07-06-2009, 10:51 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You can get the forward vector of the tracker using the following code:
Code:
 directionVector = itracker.getMatrix().getForward()
If you want to get the value directly from an euler angle, then you can use the following code:
Code:
directionVector = viz.Matrix.euler(eulerAngles).getForward()
Reply With Quote