vectorDiff: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(cant subtract by)
(correction)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


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



Revision as of 08:05, 24 June 2014

Hover & click on the images for description

Description

Description:
Subtracts one 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