@blinkk/degu
    Preparing search index...

    Function damp

    • Similar to [[mathf.lerp]] but is damped and smoothed out with exponential decay. Useful to use as an alternative to [[mathf.lerp]] or [[mathf.ease]] to smooth out animation movement.

      Parameters

      • value1: number

        The start of the range to lerp.

      • value2: number

        The target of the range to lerp.

      • amount: number

        A value between 0-1 representing the progress of the lerp.

      • damp: number

        A value between 0-1 representing the amount to damp.

      Returns number