Once I released the sprint key (shift), after sprinting…the endurance bar continues to decrease until 0. Tested out altering some numbers in EnduranceDegenRate and EnduranceDegenAmount, but I still can’t seem to find a fix. Running and running control are in CharacterBP.
EnduranceDegenRate is currently set to 0.2, EnduranceDegenAmount is 0.5 - but have been a multitude of numbers already.
Can’t make out the last image, it’s too small. You need do a check for “Is Running” bool and based on that stop endurance decrease (start replenish maybe, after a short delay) or continue to drain.
You can keep the Widget as you have but I prefer to get a reference one time and then use that for the binding instead of casting on tick (cause thats how binding works). Here is what I mean by that:
It works perfectly except if you press shift (and don’t move) the “stamina” (or endurance) still goes down. If I put a bool is moving and such I am guessing that might fix it?