Open topic with navigation
<animationpath>.setConstantSpeed
Move along the path at a constant speed
<animationpath>.setConstantSpeed( |
|
mode |
speed |
) |
|
mode
Either viz.ON or viz.OFF
speed
The speed at which to move, only if mode is viz.ON
Remarks
If constant speed is enabled, the animation path will move along at the specified constant speed. In this case the control times for translations are ignored.
Return Value
None
Example
path = viz.addAnimationPath()
#Move through the path at 2 m/s
path.setConstantSpeed(viz.ON,2)
See also