User Tools

Site Tools


4rpl:commands:setunitrotation

This is an old revision of the document!


Index

SetUnitRotation

SetUnitRotation(<-UID <-rotDeg)

Description

Set the rotation of a unit, in degrees. A vector (x,y,z) is passed in representing the rotation around the x,y,z axes. Note the Y axis is the 'vertical' axis relative to the map plane.

Examples

SetUnitRotation(<-UID V3(0 45 0))

See also

Index

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