PathFollowingAnimator is a tool to generate animations that make all attached pawn objects moving along the given path.
Signature:
export default class PathFollowingAnimator
Constructor | Description |
---|---|
(constructor)(viewer, pointArray, useDefaultUpVector) | Constructor of PathFollowingAnimator. |
Method | Description |
---|---|
addPawn(pawn) | Attach pawn object to the animation. |
resume() | Resume the path following animation. |
setLoop(loop) | Enable/Disable looping animation. |
setSpeed(speed) | Set the animation speed. |
start() | Start the path following animation. |
stop() | Stop the path following animation. |