View Single Post
  #4  
Old 01-17-2014, 12:50 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,449
You could use viewpoint.setEuler and update the yaw value every frame:
Code:
viz.MainView.setEuler([ joy_x * TURN_SPEED * viz.getFrameElapsed(), 0, 0 ], viz.REL_PARENT)
Reply With Quote