static Vector3 Slerp (Vector3 a, Vector3 b, float frac, bool clamp)

Parameters

NameTypeDescription
a Vector3 Starting vector (A).
b Vector3 Target vector (B).
frac float Interpolation fraction: 0 returns A, 1 returns B, and values in between provide intermediate results along the spherical path.
clamp = True bool If true, clamps the fraction between 0 and 1.

Returns

TypeDescription
Vector3 Interpolated vector along the spherical path.
Declared in Vector3 ยท Assembly Sandbox.System
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.