How to get a bone’s Pose Mode transform matrix

by Vettel.Sebastian   Last Updated July 14, 2018 13:15 PM

With my script I want to export these values for bones:

enter image description here

I have tried using PoseBone.matrix_basis but I got incorrect values. For instance the expected quaternion rotation is (1,0,0,0) after export it is (0,707107, -0,707107, -0,707107, -0,707107). Can someone help me out please ?



Related Questions



What are these three set of quaternion of a bone?

Updated July 19, 2018 00:15 AM


bpy - Console vs. Run Script shows different outcome

Updated November 29, 2016 08:06 AM