Перейти к содержанию

Vector3::angleTo

Материал из RAGE MP Wiki Archive
Версия от 06:33, 31 мая 2019; imported>Micaww (Created page with "This function returns the angle (in radians) between two vectors. ==Syntax== <pre> vector.angleTo(Vector3 otherVec); </pre> ===Required Arguments=== *'''otherVec:''' Vector3...")
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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