the current value (usually position along an axis)
the target value to dampen to
the current velocity (usually speed along an axis)
the time it should take to smoothen to the desired target
the amount of time passed since last frame
the smoothened value and new velocity: [position, velocity]
Dampens a current value back to a target value with spring-damper behavior.