Stamina Drains While Character Isn't Moving

This is only a problem for me when I have the sprint input toggle enabled. I’ve tried multiple workarounds, but none of them seem to work. I’m not sure if I have conflicting code somewhere, or if I’m just placing certain nodes where they should (or shouldn’t) be. This seems like it’d be an easy fix but I can’t figure it out!

In other words, I need the sprint input to be automatically cancelled as soon as the character stops moving.

It’s hard to say, as a lot is not being shown here, but I’d say put a ‘stop sprint’ on the end of the ‘check player movement’ if the velocity is 0.

1 Like