Motion Blending Lab

What's Happening

The Web Driver allows you to blend Actor motions for smooth transitions between motions and poses, and to create composite animations comprised of several base motions. The Web Driver API gives you full control over the parameters of the blending, such as blend amount, blend time, start time, and looping.

The buttons in the Commands section above will either start a blended animation of the Battlesuit Trooper actor, or stop a motion of that name. Each blendMotion command is set so that the new motion is set to a value of zero (no animation) when the button is pressed, and will fade in to a value of one (full animation) after half a second.

To define parameters for a blend, use the Custom Commands section above. Note how changing the blend time, initial and final blend amounts, and other parameters affect the animation that is blending in.

Drag inside the Web Driver window to rotate the Actor.

Key Methods Used

WTActor::blendMotion, WTActor::stopMotion

Points to Remember