vectorDiff: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(syntax change)
m (Made description less ambiguous)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


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



Revision as of 01:43, 24 June 2014

Hover & click on the images for description

Description

Description:
Subtracts left 3D vector by 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