Vector3::angleTo

From RAGE Multiplayer Wiki
Revision as of 06:33, 31 May 2019 by Micaww (talk | contribs) (Created page with "This function returns the angle (in radians) between two vectors. ==Syntax== <pre> vector.angleTo(Vector3 otherVec); </pre> ===Required Arguments=== *'''otherVec:''' Vector3...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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