PathFollowingAnimator class

PathFollowingAnimator is a tool to generate animations that make all attached pawn objects moving along the given path.

Signature:

export default class PathFollowingAnimator 

Constructors

ConstructorDescription
(constructor)(viewer, pointArray, useDefaultUpVector)Constructor of PathFollowingAnimator.

Methods

MethodDescription
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.