User Tools

Site Tools


4rpl:commands:rotateobj

This is an old revision of the document!


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.1691534898.txt.gz · Last modified: 2025/02/14 14:56 (external edit)