So I'm developing a platformer-style game and I implemented wall jumping. The issue is, you don't stick to the walls.
I solved this, I changed the player's max fall speed when next to a right or left wall, and change it back when away from the wall.
The issue is, only one direction, either left or right, works.
But if I disable the working one, the other now suddenly works.
Only one can work at a time and this is very frustrating.
I have been struggling with this for months and always just putting it away to do later, but I've finally had enough of not finding an answer online.
All the thanks.