Hi all,
I want to initial a Matrix4 in script by setting translation and rotation.
Matrix4 m1;
...
m1.SetTranslation(Vector3(1,1,1));
m1.SetRotation(r);
I found r must be passed as Matrix3.
So I plan to initial r by convert a Quaternion to Matrix3.
At last, I found Quaternion::RotationMatrix() was not ported to script interface.
So, I wonder, is there a easy way to initial a rotation Matrix3 in script?
Thanks