MDL Inverse Kinematics

Maybe this question is more geared to Arno.

How is the Offset Matrix (bone's transformation) stored in the MDL ?

Where are these inverse matrices stored? Do IKJC or IKCL have any information?

Thanks
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
The matrices for the bones are stored like any matrix of a scenegraph node.

The inverse matrices are not stored in the mdl as far as I know. The engine probably calculates them.
 
The matrices for the bones are stored like any matrix of a scenegraph node.

The inverse matrices are not stored in the mdl as far as I know. The engine probably calculates them.
Thanks Arno. The Matrix you are referring in the scenerygraph are the ones linked to the TRAN record? Or the Quaternions and Translations in the XANS?
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Both, one is for static transformations and the other for animations.
 
Both, one is for static transformations and the other for animations.
Thanks. But as far as I understand and checked, static transformations are applied too to animated parts as well. Then the keyframe matrix is applied and then the object WVP transform. Is this correct ?
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Yes, all nodes have a static transformation matrix and the animation goes on top of that. This is all defined in the scenegraph.
 
Top