Stop player momentum

For disabling the controller, while it does solve some situations, my main problem is knockback by other objects. for example the player getting knocked by a moving platform into something that kills it and then respawn with the same knockback impacting it… (For example, imagine a player walking down the street, a car hitting him, the player spawns at his house and them immediately proceed to fly into the nearest wall by the impact of the car that just ran it)

As for the 2nd solution, I did try to do:
GetCharacterMovement()->Velocity = FVector(0.0f,0.0f,0.0f);
but sadly it doesn’t change anything (maybe getting the velocity only returns a copy and I’m not aware).

I tried to use your function both without GetCharacterMovement() and with it but for some reason it doesn’t seem to exist… Should I include anything else for it in the header? Or is it different in ue5? Tried to use it inside my character class.

Regardless, I thank you a lot for both suggestions and for trying to help :slight_smile: