Smoothens a current value based on velocity while reducing the velocity.
the current value
the current velocity of the value
the time it should take to smoothen the velocity to 0
the amount of time passed since last frame
the smoothened value and new velocity: [position, velocity]
Smoothens a current value based on velocity while reducing the velocity.