Quaternion.Slerp(Quaternion a, Quaternion b, number t)
Spherically interpolates between a and b by t. The parameter t is clamped to the range [0, 1].
Parameters:
Name | Type | Description |
---|---|---|
a | Quaternion | a |
b | Quaternion | b |
t | number | t |
Returns:
type | Description |
---|---|
Quaternion | result |
Usage
---@type Quaternion
local a;
---@type Quaternion
local b;
---@type number
local t;
local val0 = Quaternion:Slerp(a, b, t)