Game Development Community

How %angle works in torquescript

by USC - IMD student 3 · in Torque Game Builder · 11/22/2006 (5:02 pm) · 1 replies

When using rotateTo(), I am curious if the first argument, which the documentation calls %rotation, is relative to an object's position or is a concrete measurement on a 360 degree compass. Also, would zero degrees be straight up or straight down?

Thanks in advance,
-Ben

#1
11/22/2006 (5:36 pm)
Found the answer to my own question:

the %rotation is a concrete value. 0 = right-side up, 180 = up-side down