2009年12月18日 星期五

人物行走



Skinned Model Extensions Tutorial
Tutorial
submitted
10/21/2009

Description: 

This tutorial will teach you how to extend the Skinned Model sample by directly accessing and manipulating the positions of specific bones to add three new features:

  • Overriding the position of selected bones from your C# code, so the head or arm can be rotated independently of the rest of the animation
  • Positioning an object relative to an animated bone, so the character can hold a baseball bat
  • Attaching a set of bounding spheres to the animated character, which can be used for collision detection

The first step is to download the latest (Game Studio 3.1) version of the Skinned Model sample. It is important to make sure you have the 3.1 version of the sample, as this tutorial will not match up properly if you are following along using an older version!

If you want to jump straight to the end result, the final code produced by following this tutorial can be found in the SkinnedModelExtensions subfolder.