Hello!
I created this ladder logic, but for the love of debugging I can't find the reason why my "e" key (or any, I tried to change it) does not proc the "isClimbing" state. Nothing happens. The Ladder and the Player are on the same layer and same Z. I tried to move them on a different layer just in case with the same elevation but no success. I know that it must be something stupid that's happening because at least I should have a bug related to the mechanic but no mechanic at all: that's weird. Any clues on what should I be looking for? Thank you guys in advance.
Your first condition sets isClimbing to True.
So both the first and the last condition will be triggered in the same tick and both will keep reseting each other.
Use this structure instead:
Using Else ensures that only one branch runs per tick.
Develop games in your browser. Powerful, performant & highly capable.
I thought the condition were enough to trigger only or the other :( I will try it, thank you.
It works, here's the final solution. I have to add the ability to jump off but there it is. Thank you!!!