Arma 3 Scripting

Function in Vectors

BIS_fnc_crossProduct

Also available as Markdown and JSON, or read the original wiki page.

Description

Return the cross product of two 3D vectors.

Note

Arma 3: Use vectorCrossProduct instead.

Syntax

[vector1, vector2] call BIS_fnc_crossProduct

Parameters:

Returns: Array

Examples

Example 1

private _product = [[1,2,3], [3,2,1]] call BIS_fnc_crossProduct;

See also

vectorCrossProduct