Skip to main content

Vector3::cross

This function is used to calculate the cross product of two vectors. The cross product is a vector that is perpendicular to both input vectors.

Syntax​

vector.add(Vector3 otherVec);

Required Arguments​

  • otherVec: Vector3: The other vector.

Returns​

  • Vector3 The cross product.