vector1 vectorCrossProduct vector2

Operand types

vector1: Array
vector2: Array

Type of returned value

Description

Cross product of two 3D vectors.

In layman's terms, if you have a polygon (surface) defined by 3 points, you can find a normal to it (just like terrain surfaceNormal). To invert direction of the normal, swap arguments around.


(image from BIS wiki)

Used In

Arma3

Example

_vector = [1,1,1] vectorCrossProduct [2,2,2];
Search OFPEC COMREF