View Single Post
  #5  
Old 07-16-2016, 04:49 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
In this case you don't need to get the yaw, pitch, and roll values. Just get a handle to the tracker link and use the link.setEuler operator:

Code:
trackerLink = vizconnect.getTracker('headtracker').getLink()
#Keep the incoming yaw and pitch, but zero the roll
trackerLink.setEuler([None,None,0])
Reply With Quote