Api > Quaternion > Angle()
Quaternion.Angle(Quaternion a, Quaternion b)⚓︎
Returns the angle in degrees between two rotations a and b.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
a | Quaternion | a |
b | Quaternion | b |
Returns:⚓︎
type | Description |
---|---|
number | angle in degrees |
Usage⚓︎
---@type Quaternion
local a;
---@type Quaternion
local b;
local val0 = Quaternion:Angle(a, b)