A question on %shape.setTransform
by Adam · in Torque Game Engine · 06/09/2005 (11:23 pm) · 3 replies
Hi guys. I encountered this problem when im reading the script (turnshape.cs) in chapter 3. It's in page 112. There are 7 coordinates in the bracket ("-90 -2 20 0 0 1 0"); , but I can't figure out what does the the 4th to 6th digit does. Can anyone explain to me please? Thank You.
About the author
Torque Owner Gary Preston
AFAIK, the frist three are for your translation along the X,Y,Z axis. The next 4 are for doing a rotation. With rX rY and RZ specifying a vector around which the rotation will occur, rD specifying the angle of rotation (rad or deg I'm not sure which).