![]() |
#6
|
|||
|
|||
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) |
|
|