|
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
Rotation of MainView by a certain angle without use of on.keydown
I have tried vizact.spin and vizact.spinTo for this, but they only move to fixed angles relative to the original viewpoint.
eg. below is the least buggy code: HTML Code:
turnRight = vizact.spinTo(euler=[90,0,0], speed=50) turnLeft = vizact.spinTo(euler=[-90,0,0], speed=50) if "left" in command: viz.MainView.add(turnLeft) elif "right" in command: viz.MainView.add(turnRight) Could someone advise me on what to do? Thanks! |
Tags |
rotate, spin |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems with linking Sensor to MainView | escmo | Vizard | 2 | 06-25-2013 01:15 AM |
Mainview can't go back to original point | jacky | Vizard | 1 | 06-04-2013 04:22 AM |
Custom Joystick Rotation | mhead10 | Vizard | 9 | 11-26-2012 12:06 PM |
Unable to perform 360 rotation using vizact.spinto | vijaykiran | Vizard | 2 | 09-29-2009 08:39 AM |
calculating angle differences | tavaksai | Vizard | 4 | 08-23-2004 10:04 AM |