I would like the character in my platform game to NOT slide down when walking up or down a slope, while preserving the gravity direction to down. Basically the same behavior I think Mario games have, or Yoshi's Island.
I haven't succeded in accomplishing this by playing with friction or anything else. How would I go not making the player slide down a slope due to gravity? Would I have to ditch Box2D and gravity entirely?