Vector3D: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Killzone Kid (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
'''Format:''' | '''Format:''' | ||
[x, z | [x, y, z] | ||
Revision as of 13:27, 21 November 2013
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 select 0) atan2 (_vdir select 1);