Vector3::angleTo

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

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