Since 1997, 3D animation has made modern games more fun, and has given them more possibilities. You can take different actions in role-playing games. 3D model animation will make the game more fun and realistic. In this recipe, you will learn how to process and play the rigid model animation in Windows Phone 7.
The following steps will help you look into detail on implementing a rigid model animation:
1. Create a Windows Phone Game project named
RigidModelAnimationGame
, changeGame1.cs
toRigidAnimationGame.cs
and add the 3D animated model fileFan.FBX
to the content project. Then create a Windows Phone Class Library project calledRigidModelAnimationLibrary
to define the animation data and add the class filesModelAnimationClip.cs, AnimationClip.cs, AnimationPlayerBase.cs, ModelData.cs, Keyframe.cs, RigidAnimationPlayer.cs
, andRootAnimationPlayer.cs
to this project.2. Next, build a new Content Pipeline Extension Library project named
RigidAnimationModelProcessor...