Graphics Reference
In-Depth Information
The animations are stored by name in a dictionary. Therefore, the original
name of the animation from the 3D authoring tool can be used to retrieve
the appropriate animation. For example,
mesh.Animations["Walk"];
7.
Simply compile and run (
F5
) the project. You will see that our character is now
following an animation that moves through the poses, as shown in the sequence
in the following screenshot:
The three poses used in our animation sequence.