Skip to content

Api > Vector3 > SlerpUnclamped()


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

Spherically interpolates between two vectors.

Parameters:⚓︎

Name Type Description
a Vector3
b Vector3
t number

Returns:⚓︎

type Description
Vector3 Spherically 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.