Difference between revisions of "BIS fnc vectorFromXToY"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (1 revision)
(No difference)

Revision as of 14:57, 25 July 2014

Introduced with Arma 2 version1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
/************************************************************
	Vector From X to Y

<resultant vector> = [<vector1>,<vector2>] call BIS_fnc_vectorFromXToY

Operand types:
<vector1>: array
<vector2>: array
<resultant vector>: array

Returns a unit vector that 'points' from <vector1> to <vector2>.
This is a very useful function, as it can be used with the velocity
command to move an object from one position to another
(ie <vector1> to <vector2>) - ensure both positions are found using getposasl.
************************************************************/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Example 1:
Example needed
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section