Api > Quaternion > Dot()
Quaternion.Dot(Quaternion a, Quaternion b)⚓︎
The dot product between two rotations.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
a | Quaternion | a |
b | Quaternion | b |
Returns:⚓︎
type | Description |
---|---|
number | dot product |
Usage⚓︎
---@type Quaternion
local a;
---@type Quaternion
local b;
local val0 = Quaternion:Dot(a, b)