User Tools

Site Tools


4rpl:commands:getobjrotation

This is an old revision of the document!


Index

GetObjRotation

GetObjRotation(<-Unit “ObjName” <-world) ->rotDeg

Description

Returns a vector holding the X,Y,Z angles of a unit's object in degrees. Objects are the sub-parts that make up a unit. If world is false, then local angles are returned, otherwise world angles are returned. Note, use “” (empty string) to indicate the root level object.

Examples

GetObjRotation(self "Arm" false) ->rotDeg

Index

4rpl/commands/getobjrotation.1610121708.txt.gz · Last modified: 2021/01/08 11:01 by 127.0.0.1