Custom Model Rigid and Skinned Animations Sample
This sample shows how animations can be imported on rigid and skinned models using a 3D content creation tool and then played automatically.Sample Overview
This sample shows how animations can be baked into a rigid or skinned model using a 3D content creation tool that would typically require game logic, by simply loading and playing the animation. The two examples presented in this sample are a rigid cube which falls apart as it hits the ground, and a skinned "Dude" model that is able to walk through a scene without having to move him using code.
These examples are both useful for different reasons. When using a rigid model for instance, an artist can creat a complex explosion effect like the one pictured, without having the incorporate any complex physics capabilities into the game code. For a skinned model, a good place to use this technique might be inside a cutscene, where the artists can develop the entire scene independent of code.
Sample Controls
This sample uses the following keyboard and gamepad controls.
| Action | Windows | Windows/Xbox Gamepad |
|---|---|---|
| Play the Rigid Animation | A | A |
| Play the Skinned Animation | B | B |
| Exit the game. | ESC or ALT+F4 | BACK |