![]() |
#1
|
|||
|
|||
how to change transport rotation speed
Transport movement speed can be changed using the ‘transport.setMovementSpeed’ command. Is it also possible to change transport rotation speed?
In Vizconnect, there are various movement and rotation speed parameters, such as ‘rotationAcceleration’, ‘maxRotationSpeed’ and ‘rotationAutoBreakingDragCoef’, that get assigned to the transport object when it is created. Is there some way to access these properties from within a Vizard program and change their values? Thanks, Richard. |
#2
|
|||
|
|||
There are no built-in commands to change those values. However this is possible by modifying AccelerationTransport, the base class for transports that use acceleration. I've attached an example. The entire transportation folder from the vizard installation is copied into the example folder and methods for setting the rotation acceleration and max rotation speed have been added to the base transport.
|
#3
|
|||
|
|||
Very nice solution, thank you!!
Richard. |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Varying rotation speed with spinTo | mape2k | Vizard | 2 | 03-22-2013 07:48 AM |
Custom Joystick Rotation | mhead10 | Vizard | 9 | 11-26-2012 12:06 PM |
random speed and associated coding | Saz | Vizard | 1 | 05-20-2010 04:03 AM |
Calculating Speed with sensor | durf | Vizard | 1 | 03-13-2009 10:25 AM |
Randomly and Continuously Change Avatar's Face Texture | Karla | Vizard | 4 | 08-22-2008 12:14 PM |