Hey there!
This is my first selfmade project (2d Plattformer) and I cant figure out whats happening.
I have build this Walljump:
now sometimes when im sliding down the Wall (with WalljumpPossible == true) and jump, my Character just falls down the wall, facing the other direction. I dont know why this is happening or when.
Since this is a learning project, I`m not yet interested in performance. I just want my project to work. Any help is appreciated! Thank you!
Here an Update.
I found out that, when i’m to close the wall the following Happens:
- Character geht’s launched as planned
- Charakter geht’s stopped by the walljump possible calculation.
I think that after my launchcharacter, another threat is still in the middle of calculat the walljumppossible variable.
Now i added a variable imidiatly after Launch character, which get’s true for about 0,1 sec (waiting with a delay turning it back to false)
This works perfectly fine. Any better suggestions are still very welcome.