What space is a posebone's localMatrix supposed to be in? I'm trying to import animation using the pose module and would need to know that.
Thanks!
PoseBone.localMatrix relative to what space?
Moderators: jesterKing, stiv
http://www.blender.org/cms/How_Armature ... 634.0.html hopefully explains the things in the apidoc,
i dont know the answer off-hand.
~Toni
i dont know the answer off-hand.
~Toni
I got it. Just like the documentation says:
localMatrix: The matrix combination of rot/quat/loc.
This means that it is relative to the bone's restpose matrix. If you set a keyframe with identity matrices for all bones' localMatrices, you get the rest pose.
Regarding the "how armatures work" illustration linked by an-toni, localMatrix apparently is the same as pose_mat.
localMatrix: The matrix combination of rot/quat/loc.
This means that it is relative to the bone's restpose matrix. If you set a keyframe with identity matrices for all bones' localMatrices, you get the rest pose.
Regarding the "how armatures work" illustration linked by an-toni, localMatrix apparently is the same as pose_mat.