I managed to program a cute script to export animated models for Play Station Portable.
If all the bones are aligned with Y pointing up, It works perfect, But animating the models that way is a bit strange:
So I want to export models with bones not aligned like this:
But the bones rotated in edit mode, like the ones for the arms, are now rotating along their rotated Y axis, the exported quaternions are wrong when loaded in PSP and they rotate in flipped axis.
So... Is there a way to export the quaternions without the rotation added by the head-tail axis?. Like, multiply the quaternion by the head-tail vector... or something like that?
Thanks a lot!