vectorDiff: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(example typo)
Line 20: Line 20:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[hint]] [[str]] ([[velocity]] car [[vectorAdd]] [[velocity]] bike);</code> |= Example 1
|x1= <code>[[hint]] [[str]] ([[velocity]] car [[vectorDiff]] [[velocity]] bike);</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 08:09, 24 June 2014

Hover & click on the images for description

Description

Description:
Subtracts one 3D vector from another. (vector1 - vector2)
Groups:
Uncategorised

Syntax

Syntax:
vector1 vectorDiff vector2
Parameters:
vector1: Array
vector2: Array
Return Value:
Array

Examples

Example 1:
hint str (velocity car vectorDiff velocity bike);

Additional Information

See also:
vectorAddvectorCrossProductvectorDotProductvectorCosvectorMagnitudevectorMagnitudeSqrvectorMultiplyvectorDistancevectorDistanceSqrvectorDirvectorUpsetVectorDirsetVectorUpsetVectorDirAndUp

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