vectorDiff: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(correction)
mNo edit summary
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Subtracts one vector from another. (vector1 - vector2) |= Description
| Subtracts one 3D vector from another. (vector1 - vector2) |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 09:07, 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 vectorAdd 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