Character Control: How to remove the skating effect?

I’m sure everyone is familiar with the ice skating effect the Character Controller initially has. When you left your finger off the UpArrow or W key, it continues to move forward a bit more before finally coming to a stop. I figured if I boosted the friction on the terrain and controller it would go away – but it didn’t.

I did some searching here on the forums about this but apparently I’m using the wrong key words or something because nothing was coming up on this subject.

How does one remove this sliding effect of the Character Controller so when I lift my finger off the ‘W’ key, it stops immediately?

Unless I’m missing something, that’s nothing to do with the Character Controller or physics, it’s the ramping up and down of the inputs.

go EditProject SettingsInput, expand the Horizontal and Vertical axes and increase their ‘gravity’ value to 1000 or something.

This is the speed at which the inputs return to zero after you release the button and should hopefully give you crisp abrupt stops.

Or simply use GetAxisRaw() instead of GetAxis().

GetAxisRaw() will give you that jerky, instantly start, instantly stop motion you want since the only values for it are -1, 0, and 1.

1 Like

Boom, worked