Index

GetObjForward

GetObjForward(<-Unit “ObjName”) ->pos

Description

Returns a vector (X,Y,Z) representing the object's forward direction (the positive z direction of the unit). The returned vector is in world space, and is not relative to the object's parent. Note, use “” (empty string) to indicate the root level object.

Examples

GetObjForward(self "Arm") ->pos

Index