Greetings
I am currently attempting to follow this tutorial
(3) Sprinting And Stamina - Unreal Engine 5 Tutorial - YouTube
However, I have a couple bugs, mainly holding down shift while not moving drains stamina.
SImply adding a branch node to detect if the player’s velocity is > 0 doesn’t work, as the way it’s set up it either freezes the stamina bar in place and doesn’t let it refill or does a weird thing where the bar goes down a little and freezes. It does the former if you place the branch in the character’s event graph, and the latter if you place the branch in the “start sprinting” function. How can I fix this?