Open topic with navigation
Vizard 8 »
Command Index
»
Vizard objects
»
node3d
»
<node3d:avatar>.stopAnimation
8.0
<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
)
Copyright © 2001-2024 WorldViz. All rights reserved.