Warning: file_put_contents(/ff_646684d0c138566e96fbb572835898a7c35a0965b003cd91.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
vectorNormalized - OFPEC Scripting Command Reference | OFPEC The Editing Center

vectorNormalized vector

Operand types

vector: Array

Type of returned value

Description

Returns normalized vector of given vector.
If given vector is 0 result is a 0 vector as well.

Used In

Arma3

Example

vectorNormalized [12345,7890,38383];
//result is [0.300481,0.192045,0.934254]

Advertisement