Skip to content

Avatar Multiple Animations Sample

Simon Jackson edited this page Sep 1, 2016 · 7 revisions

#Avatar Multiple Animations Sample#

Area Games: 3D Graphics, Games: Graphics Submitted 6/12/2009 Code Sample


Sample Overview

Often in a game, the developer may want to play more than one animation at a time on different parts of a character's body. One example is having the character walk while they wave their hands. This requires the walk animation to be targeted at the character's legs and feet, while the wave animation plays on the character's arms.

In this sample, we demonstrate how to play two built-in avatar animations at the same time. The celebrate animation is used on most of the body, while the wave animation plays on just the avatar’s right arm.

All content and source code downloaded from this page are bound to the Microsoft Permissive License (Ms-PL).

downloads

AvatarMultipleAnimationsSample_4_0.zip

Size: 0.03MB

Source code and assets for the Avatar Multiple Animation Sample (XNA Game Studio 4.0).

Clone this wiki locally