I'm using SkinnedModel and attempting to play animations for my models. I have all animations in one fbx file, as that's apparently supported by XNA 4.0 Refresh, but now I'm not too sure about it; all my animation clips show up as having the same duration and number of keyframes.
What I'm doing is same as in the skinned model sample:
// In LoadContent()
SkinningData skinningData = currentModel.Tag as SkinningData;
animationPlayer = new AnimationPlayer(skinningData);
AnimationClip clip = skinningData.AnimationClips["Walk"];
animationPlayer.StartClip(clip);
// In Update()
animationPlayer.Update(gameTime.ElapsedGameTime, true, Matrix.Identity);
Am I missing something? Is having all animations in one file the reason for my clips all having the same duration/number of keyframes?