User Tools

Site Tools


4rpl:commands:setobjrotation

This is an old revision of the document!


Index

SetObjRotation

SetObjRotation(<-Unit “ObjName” <-rotDeg <-world)

Description

Sets the X,Y,Z angle in degrees of a unit's object from the specified rotDeg vector. Objects are the sub-parts that make up a unit. If world is false then the rotation is relative to the object's parent, otherwise the rotation is a world rotation. Note, use “” (empty string) to indicate the root level object.

Examples

SetObjRotation(self "Arm" <-rotDeg false)

Index

4rpl/commands/setobjrotation.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)