Skip to main content

Vector3::angleTo

This function returns the angle (in radians) between two vectors.

Syntax​

vector.angleTo(Vector3 otherVec);

Required Arguments​

  • otherVec: Vector3: The other vector to calcuate the angle to.

Returns​

  • number The angle in radians.