![]() |
|
#2
|
|||
|
|||
|
Try setting the timer expiration time to 0 so it expires every frame. Then use viz.getFrameElapsed to get the elapsed time since the previous frame and multiply that against the speed in m/s and joystick position:
Code:
viz.MainView.move([0, 0, -joy_y * SPEED * viz.getFrameElapsed()]) |
| Tags |
| joystick, velocity |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mainview can't go back to original point | jacky | Vizard | 1 | 06-04-2013 05:22 AM |
| joystick position | nmohandes | Vizard | 2 | 01-16-2012 11:03 AM |
| how to remove velocity when mouse is disabled? | jvacare1 | Vizard | 2 | 02-18-2010 11:25 AM |
| Joystick Navigation | Vinicius Lima | Vizard | 7 | 10-23-2007 11:42 AM |
| Facetracking and Immersion Joystick | Vygreif | Vizard | 1 | 01-25-2006 11:56 AM |