I just did a bunch of looking into the new features in 2.5 and I must say, I am
very pumped.
I can't wait.
On another note, I've solved it! I've come up with a way of converting transform matrices between coordinate systems and it's
so much simpler than what I was doing.
What I was trying to do was extract various information out of the matrix (stuff like position, euler angles, scale) and construct a new matrix in the target coordinate system. I had a little function to do this and I must say, I was about to jump off a bridge.
I just had an epiphany and discovered this:
TargetSystemMatrix * BlenderObjectMatrix * InverseTargetSystemMatrix = TargetSystemObjectMatrix
Where TargetSystemMatrix is a matrix that transforms coordinates from Blender's system into something else, like DirectX:
[1,0,0,0]
[0,0,1,0]
[0,1,0,0]
[0,0,0,1]
And where BlenderObjectMatrix is an object's transform matrix in Blender's system.
Anyhoo, with this, I am able to take a huge step forward and finally move on with the project! Results soon!