Jump to content
  • Advertisement
Sign in to follow this  

Animation Controller

This topic is 4097 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I'm trying to animate using D3DXLoadMeshHierarchyFromX() and the animation controller. I have a problem but I don't realy know how to put it. I've already studied the MultiAnimation sample of the SDK but I don't quite get it. I've understanted the frame matrix update, the rendering loop and all. No prob here. What I don't understand, is how to use the same mesh to animate multiple objects that share that mesh. I'm assigning diferent animation controllers to the objects by using ID3DXAnimationController::CloneAnimationController(). What does this method do? Does it create a totaly new animation controller that is somehow connected to the mesh? Do I have to save the state of the animation for each object (time, animation track that is being played etc) and set it before the render?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!