0
$\begingroup$

What is the meaning of the following code?

bone_rotation_matrix = (bone_rest_matrix_inv @bone_rotation_matrix @bone_rest_matrix)

I want to know what the bone_rotation_matrix represents? The result is different from the rotation value in transform panel.

$\endgroup$
2
  • $\begingroup$ the formula seems to be a eigen decomposition of some rotations (from euler, most likely) to the rest matrix. I guess this should provide the same rotation but from the rest pose. $\endgroup$
    – lemon
    Commented Jan 8 at 11:52
  • $\begingroup$ Are you able to look at the documentation for Blender, bpy or Python? $\endgroup$
    – Onyx
    Commented Jan 8 at 15:09

0

You must log in to answer this question.

Browse other questions tagged .