User Tools

Site Tools


4rpl:commands:getobjforward

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

4rpl/commands/getobjforward.txt · Last modified: 2021/01/24 14:31 by Sanian