⇐ Index
Available in version 1.2.1 and later.
RotateObj(<-unit <-obj <-rot <-maxDegrees)
Rotates an obj no more than maxDegrees towards the angles (in degrees) specified by the rot vector.
This is done to the object's world orientation.
#Rotate an "arm" child object around the y axis to point at 45 degrees RotateObj(self "arm" V3(0 45 0) 1)
⇐ Index