Hello!
I am wondering, if anyone is capable, to solve thi issue:
I have the following matrix:
-0.8454 -0.5298 -0.0682 0.0000
0.1796 -0.4020 0.8978 0.0000
0.5031 -0.7468 -0.4350 0.0000
-24.6733 -18.6587 -0.1653 1.0000
I need to extract: translation, rotation (euler angles) and scale out of this matrix.
So basically I need:
Vector3 translation, rotation, scale;
Out of the above vectors, I should be able to reconstruct the upper matrix.
Even if not 100% equal, it should meet the following condition:
When a vector3 [ 1.0, 2.0, 3.0 ] is transformed over the matrix,
we should get a vector3 with following values: [ -23.6501, -22.2328, 0.2572]
Thank you in advance!






