Skip to main content

Quaternion.LerpUnclamped(Quaternion a, Quaternion b, number t)

Interpolates between a and b by t and normalizes the result afterwards. The parameter t is not clamped.

Parameters:

NameTypeDescription
aQuaterniona
bQuaternionb
tnumbert

Returns:

typeDescription
Quaternionresult

Usage

---@type Quaternion
local quaternion;

---@type Quaternion
local a;

---@type Quaternion
local b;

---@type number
local t;


local val0 = quaternion.LerpUnclamped(a, b, t)