Game Development Community

Understading getTransform()

by Eric Jergensen · in Torque Game Engine · 06/03/2004 (5:58 am) · 1 replies

What are the fields in a "transform" as returned by the various getTranform() methods? I can see that the first 3 fields are the x,y,z of the location. What are the next four?

#1
06/03/2004 (7:49 am)
GetTransform returns :

X, Y, Z, Rot X, Rot Y, Rot Z, ANGLE

Rot X, Rot Y and Rot Z is the rotation vector by which the object will be rotated by ANGLE degrees.

0, 0, 1 for the above items would mean that the object will be rotated on the Z axis.

HTH