<node3d:avatar>.stopCycle

Stop an animation cycle

 

<node3d:avatar>.stopCycle(
    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 the animation if it is being cycled.

Return Value

None

Example

#Cycle the animation
avatar.state(2)
.
.
.
#Stop the animation from cycling
avatar.stopCycle(2)