3d rotation on t2dShape3d
by Dubai Coder · in Torque Game Builder · 09/22/2008 (10:33 pm) · 0 replies
I'v got a 3d shape loaded in TGB which rotate around the x-axis to get it oriented right.
Now I need to rotate the object around the axis ( this is so I can direct the players ship according to the heading).
I know that I need to generate a z-axis rotation matrix, but I have never done it in torque and I would appreciate if someone would show me how.
Thanks
Now I need to rotate the object around the axis ( this is so I can direct the players ship according to the heading).
I know that I need to generate a z-axis rotation matrix, but I have never done it in torque and I would appreciate if someone would show me how.
Thanks