I have been pulling my hair out for the past 2 days testing different ways to prevent sprinting while moving backwards. The results I have now is I can only block sprinting speed if I move backwards before trying to sprint. If sprint is already is toggled on and then I press “S” to walk backwards I sprint…
I’ve trying to do a check through event tick, but that just makes the animation and walk speed get all buggy.
If anyone knows a better way to handle this or get this working properly I will be indebted to you lol!
Why don’t you just set the character’s Max Walk Speed to your normal movement speed if the backwards movement key is pressed (that you check with that Is Less Than node) using a Branch node after the Triggered pin of IA_Move
If you want to be able to keep sprinting after letting go of the backwards movement key, then you can also set the Max Walk Speed back to your sprinting speed by checking if the Sprint has been triggered or not with a new bool type variable.