View Single Post
  #2  
Old 07-16-2016, 03:58 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
The getEuler() command return a list with yaw, pitch, and roll. You can get the individual values directly:

Code:
yaw,pitch,roll = vizconnect.getTracker('HeadTracker').getEuler()
Or first save the list and then get the individual values:

Code:
ori = vizconnect.getTracker('HeadTracker').getEuler()
yaw = ori[0]
pitch = ori[1]
roll = ori[2]
Reply With Quote