Creating a drift movement for player.

What I’m trying to do is create a drift effect for when the player changes directions. This will be down on a sidescroller. The best way I can describe it is the effect you’d assume would happen if you were running on ice, stopped and tried to run the other way.

My question is am I better off using the Mathf.Lerp with a set time variable that it would change over. Or should I write my own function to handle this.

Turn off “snap” in the input manager for the horizontal axis and use a lower gravity/sensitivity.

–Eric