Skip to main content

Quaternion.Angle(Quaternion a, Quaternion b)

Returns the angle in degrees between two rotations a and b.

Parameters:

NameTypeDescription
aQuaterniona
bQuaternionb

Returns:

typeDescription
numberangle in degrees

Usage

---@type Quaternion
local a;

---@type Quaternion
local b;


local val0 = Quaternion:Angle(a, b)