Search found 3 matches

by Deltakosh
Sun Sep 08, 2013 8:18 pm
Forum: Python
Topic: Trying to export bones, please save me from asylum...
Replies: 1
Views: 1506

Re: Trying to export bones, please save me from asylum...

Ok I found:) For those who have the same question here is the final code! def export_bone_matrix(armature, bone, label, file_handler): SystemMatrix = Matrix.Scale(-1, 4, Vector((0, 0, 1))) * Matrix.Rotation(radians(-90), 4, 'X') if (bone.parent): Export_babylon.write_matrix4(file_handler, label, (Sy...
by Deltakosh
Sun Sep 08, 2013 10:03 am
Forum: Python
Topic: Trying to export bones, please save me from asylum...
Replies: 1
Views: 1506

Trying to export bones, please save me from asylum...

Hello all, 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: SystemMatrix = Matrix.Rotation(radians(-90), 4, 'X') Export_babylon.write_matrix4(file_handler, "matrix", SystemMatrix * armature.matrix_world * bone.matrix)...
by Deltakosh
Sun Sep 08, 2013 9:57 am
Forum: Python
Topic: 2.5x PoseBone matrices
Replies: 3
Views: 1810

I have the same issue.
COuld you share your solution?