Warning: file_put_contents(/ff_1a08f7290967116cea5e6d205e31c62a39f1fa62f57e711f.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