I would like to export bones. According to the doc, if I use this code, I should get the absolute transformation matrix for a bone:
Code: Select all
SystemMatrix = Matrix.Rotation(radians(-90), 4, 'X')
Export_babylon.write_matrix4(file_handler, "matrix", SystemMatrix * armature.matrix_world * bone.matrix)
But it seems to be more complex because the result is not good (scaling is not good).
What have I to do to export a bone absolute matrix then ?
Thanks a lot for any appreciated help!