User Tools

Site Tools


4rpl:commands:rotateobj

Index

:!: Available in version 1.2.1 and later.

RotateObj

RotateObj(<-unit <-obj <-rot <-maxDegrees)

Description

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.

Examples

#Rotate an "arm" child object around the y axis to point at 45 degrees
RotateObj(self "arm" V3(0 45 0) 1)

Index

4rpl/commands/rotateobj.txt · Last modified: 2023/08/08 18:48 by Vertu