Vizard 7 » Command Index » Vizard objects » node3d » <node3d:avatar>.blend
7.6

<node3d:avatar>.blend

Blend an animation into the cycle

<node3d:avatar>.blend(  
animation  
weight  
delay = viz.AVATAR_DELAY  
)  
animation
The animation to blend in
weight
How much weight this animation has.
delay = viz.AVATAR_DELAY
This optional value specifies the time in seconds until the the animation is fully reached.

Remarks

Use this command to blend an animation into the avatars current animation cycle.

Return Value

None

Example

avatar = viz.add('vcc_female.cfg')
# Have the avatar cycle animation 1 and 2 at the same time, both with equal weight
avatar.blend(1,0.5)
avatar.blend(2,0.5)

See also

<node3d:avatar>.execute
<node3d:avatar>.state
<node3d:avatar>.stopCycle