Does Unity support any form of interpolation in its maths libraries?

something like: float x = Math.linearInterpolate(x, y, Time.deltaTime) where x is interpolated towards y linearly?

I ask ebcause I’m about to write some elastic inteprolation algorithms and was wondering if unity already supplied those so I could just use them instead…

Linear Interpolation (Lerping) is well supported through the various .Lerp methods. You can find them as static functions in Vector3, (to interpolate between vectors), Mathf, (to lerp between floats) and in Quaternion (to lerp between rotations):

Mathf.Lerp

Vector3.Lerp

Quaternion.Lerp

There is also LerpAngle:

Mathf.LerpAngle

Which correctly wraps around 360 degrees.