hey guys i hope u can help me with a pretty obscure problem ^^
Well im creating just a simple Staminasystem for my little Game and its working like a charm except 1 thing i cant get to work properly…
System is = Player press ShiftKey → if hes moving stamina will be drained else Staminabar will be unchanged.
So when im moving left and right its working properly but when im going forward and back it dont work and i cant get the problem here Tried it now 3 Days by myself but it wont work …
Here is the simple Staminasystem:
So my Character is moving properly but the Stamina wont get drained when im moving forward and backward only when im moving left and right …
Here is my Function for left and right its pretty much the same as MoveForward:
Here my Bindings:
And finaly my PlayerInputComponents:
So well in my opinion everything is fine but it seems to be impossible for me to find the part thats not working… Yeah im sad sorry and maybe the whole thing is sad too…im sorry :3