Vector3 SlerpTo (in Vector3 target, float frac, bool clamp)

Parameters

NameTypeDescription
in target Vector3 The target vector to interpolate towards.
frac float Interpolation fraction: 0 returns this vector, 1 returns the target vector, 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.