vectorDiff: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Made description less ambiguous)
(cant subtract by)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Subtracts left 3D vector by right one. (vector1 - vector2) |= Description
| Subtracts left 3D vector from the right one. (vector1 - vector2) |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 07:25, 24 June 2014

Hover & click on the images for description

Description

Description:
Subtracts left 3D vector from the right one. (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