Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description: Return object's directional vector, normalized.
A unit facing North would return [0,1,0]
A unit facing East would return [1,0,0]
A unit facing South would return [0,-1,0]
A unit facing West would return [-1,0,0]

Syntax

Syntax: vectorDir object
Parameters:
Return Value: Array - Vectors for [x, y, z]

Examples

Examples:

Additional Information

See also: setVectorDir, setVectorUp, vectorUp
Multiplayer: 
Problems: 

Notes