Brakes not stopping at 0 speed, making character go backward

I am using UE5.0.3

Hi there. I'm trying to create a brake system in my game. Currently, I'm adding angular velocity to increase/decrease speed.
The problem is that when speed hits 0, instead of stopping, the character starts to go backwards. Here is my code so far.

Any ideas on how I can fix this?

I’ve never really done this kind of thing before, but it seems to me that replacing the == node with a <= node might solve your issue. I think your current setup will only stop moving if it perfectly equals zero, but if it goes below zero then it won’t stop. So checking if it is less than or equal to 0 may work

1 Like

That worked. Thank you!