Vector3::angleTo

From RAGE Multiplayer Wiki

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.

See Also