Ive seen alot of pages talking about how to emulate a platformer on Box2D, specially about how people dont want to slide down a slope. Well, my problem is different and Im surprised I cant find posts/solutions about it.
The problem happens when I have a very steep slope and I run against it. This is what happens:
Being the square a common platformer hero fixture, since in a Box2D platformer the movement is based on applying impulses or setting the velocity, what happens when I "move" torwards such a slope, its like im pushing against it, which creates a vertical force and therefore the square moves UP (specially since friction is 0 to avoid the "sticking to a wall" thing).
I've solved most of Box2D's non-platformer-proficient issues. This one seems unsolveable.
So, how do I avoid my object to go up a steep slope when pushed against it, and instead slide down since its too steep to be climbed?