vectorDirVisual objectName

Operand types

objectName: Object

Type of returned value

Description

Return object's normalized direction vector in world space ([x,y,z]) in render time scope.

  • 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]

Used In

Arma3

Example

_dirVector = vectorDirVisual _unit;
Search OFPEC COMREF

Advertisement