Smoothly interpolate a number from x toward y in a spring-like manner using the dt to maintain frame rate independent movement.
Current point.
Target point.
A higher lambda value will make the movement more sudden, and a lower value will make the movement more gradual.
Delta time in seconds.
Smoothly interpolate a number from x toward y in a spring-like manner using the dt to maintain frame rate independent movement.