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

vector1 vectorFromTo vector2

Operand types

vector1: Array
vector2: Array

Type of returned value

Description

Unit vector, equal to direction from vector1 to vector2.
In other words this command produces vectorNormalized between given 2 points.

Used In

Arma3

Example

[1,2,3] vectorFromTo [4,5,6];

Advertisement