How to use lerp to slow down in the middle?

Hi, I am trying to figure out what formula to apply to ‘t’ when using Lerp, so that the value starts off normally, slows down in the middle (0.5) and then goes back to normal again.


I don’t know if it will work in your case, but you can use AnimationCurve and set it up in the inspector to look however you want. The you lerp normally from 0 to 1, but instead of using the lerped variable you use the AnimationCurve.Evaluate value with your variable as parameter.