View Full Version : how to change transport rotation speed

09-13-2017, 08:02 AM
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?


09-14-2017, 01:52 AM
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.

09-14-2017, 03:36 AM
Very nice solution, thank you!!