Character wont stop moving right away

I created a character and am adding my own movement code, so I replace the player controller with my own controller.

In the Character I listen for Axis events and I AddMovementInput
I am using key events with value of 1, -1

I also turned off gravity/physics

When I let go of the movement key the character slides and slows down and ultimately stops. I would like the charecter to stop dead when I let go. What is going on here?

Here is my event code

Here are the settings I changed in the character

191926-settings.png

Here are my input settings

191927-inputs.png

I am using a Character Movement component.

That’s a constantly opposing force so if its too high you cant move forward at all. My max walk speed set to 20 and my breaking Deceleration walking set to 2000 My character will stil keep moving but slowing after I release the key…sometimes forever.

I edited my question to show some more detail if that helps

I ended up writing my own move that use SetActorLocation with sweep enabled and adds a vector to the Previous ActorLocation with a magniuted based on my desired speed and the current tick deltaTime.

by default things will decelerate instead of sunddenly break, if you’re using character moviment componnent try to change this value:
if you read the description you will see that it basically defines how fast the character is going to stop after ceasing moviment input.

I went through the same problem. if you set your movement mode to flying , therefore you you should search for Flying movement in the character movement component then set the desired speed and braking deceleration value .
Answer