Skip to main content

Vector3.SlerpUnclamped(Vector3 a, Vector3 b, number t)

Spherically interpolates between two vectors.

Parameters:

NameTypeDescription
aVector3
bVector3
tnumber

Returns:

typeDescription
Vector3Spherically interpolated Vector

Usage

---@type Vector3
local a;

---@type Vector3
local b;

---@type number
local t;


local val0 = Vector3:SlerpUnclamped(a, b, t)

Extra Detail

Note:This static method can slerp beyond the a and b vectors. This means t can be less than zero or greater than one.