Vector3D

From Bohemia Interactive Community
Revision as of 12:42, 3 June 2018 by R3vo (talk | contribs) (example formatting)
Jump to navigation Jump to search

Format:

[x, y, z]


Description:

Represents a 3-dimensional vector in space.

Each value can range from -1 to +1.


The return array can be processed-converted into degrees as follows:

_vdir = player weaponDirection (primaryWeapon player); 
_adir= _vdir # 0 atan2 _vdir # 1;