This is an old revision of the document!
⇐ Index
GetObjRotation(<-Unit “ObjName” <-world) ->rotDeg
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.
GetObjRotation(self "Arm" false) ->rotDeg
⇐ Index