View Single Post
  #5  
Old 02-15-2017, 05:25 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
The getPosition() command returns an [x,y,z] list that you access like other Python lists:

Code:
pos = tracker.getPosition()
x = pos[0]
y = pos[1]
z = pos[2]
Reply With Quote