Thread
:
updating positional data
View Single Post
#
7
01-09-2009, 09:29 AM
Jeff
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,471
just to clarify, in the joystick navigation code, when you move the joystick on its y-axis that moves Vizard's viewpoint forward or backward which is Vizard's z axis. So to get the current z position just do
Code:
current_posZ = current_pos[2]
Jeff
View Public Profile
Find all posts by Jeff