View Single Post
  #6  
Old 10-24-2007, 01:28 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
If you want to turn left/right instead of moving left/right using the following code:
Code:
#Turn right
viz.MainView.setEuler(90*viz.elapsed(),0,0,viz.HEAD_ORI,viz.REL_LOCAL)

#Turn left
viz.MainView.setEuler(-90*viz.elapsed(),0,0,viz.HEAD_ORI,viz.REL_LOCAL)
I'm sorry, I don't understand your second question.
Reply With Quote