BIS_fnc_vectorFromXToY

From Bohemia Interactive Community
Revision as of 15:57, 25 July 2014 by Str (talk | contribs) (1 revision)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Hover & click on the images for description

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)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section