Hierarchical animations in DirectX and handling seperate animations on the same mesh?

Posted by meds on Stack Overflow See other posts from Stack Overflow or by meds
Published on 2010-02-05T00:59:49Z Indexed on 2010/05/09 3:58 UTC
Read the original article Hit count: 338

Filed under:
|
|
|

I have a hierarchical animated model in DirectX which loads and animates based on the following DirectX sample: http://msdn.microsoft.com/en-us/library/ee418677%28VS.85%29.aspx

As good as the sample is it does not really go into some of the details of animation that I'd like. For example, if I have a mesh which has a running animation and a throwing animation as seperate animation sets how can I get the throwing animation to occur for bones above the hip and the walking animation to occur for bones underneath the hip?

Also if I wanted to for example have the person lean left or right would I simply have to find the bone for the hip and multiplay a rotation matrix by its matrix? In this case I think the matrix is m_amxBoneOffsets?

© Stack Overflow or respective owner

Related posts about directx

Related posts about hierarchical