|
|
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! |
#2
|
|||
|
|||
I'll check with a developer about this and get back to you.
|
#3
|
|||
|
|||
Are you setting this up for a system with position tracking?
|
Tags |
rotate, spin |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems with linking Sensor to MainView | escmo | Vizard | 2 | 06-25-2013 02:15 AM |
Mainview can't go back to original point | jacky | Vizard | 1 | 06-04-2013 05:22 AM |
Custom Joystick Rotation | mhead10 | Vizard | 9 | 11-26-2012 01:06 PM |
Unable to perform 360 rotation using vizact.spinto | vijaykiran | Vizard | 2 | 09-29-2009 09:39 AM |
calculating angle differences | tavaksai | Vizard | 4 | 08-23-2004 11:04 AM |