lerp

Linear interpolation (lerp) toward another transform.

Interpolates both translation and rotation:

  • Translation: Linear interpolation of the translation vectors

  • Rotation: Spherical linear interpolation of the rotations

Return

the interpolated transform

Parameters

other

the target transform to interpolate toward

t

the interpolation parameter in range 0, 1