<node3d:avatar>.stopAnimation

Stop an animation

 

<node3d:avatar>.stopAnimation(
    animation    
    delay = viz.AVATAR_DELAY    

)

 

animation

Animation number


delay = viz.AVATAR_DELAY

The amount of seconds to blend the animation out of the cycle


Remarks

This command will stop an animation from both executing and cycling.

Return Value

None

Example

#Cycle animation 5
avatar.state(5)
.
.
.
#Stop the animation
avatar.stopAnimation(5)