Having trouble with 2D Jumping
Right now I have a simple 2D game where the character can jump using add force. It works well, and it doesn't stick to walls, however the 2D tilemap collider I'm using has friction to prevent the character from sliding all over the place when they move.
The problem occurs when I'm jumping and I move into a wall on the way up. The box is normally able to clear the jump, however if it does hit a wall on the way up it slows down, and doesn't jump as high as it normally should, missing the jump.
I'm assuming the friction of the tilemap is causing the problem, however, I want to keep the friction to stop the box from sliding forever when it moves. I was wondering if I would have to make a whole separate tilemap just for the walls and not have friction on them, or if there was a simpler solution. Thanks
Your answer
Follow this Question
Related Questions
How to Handle Slopes in 2D Platformers? 1 Answer
Walking around 2D planets? 1 Answer
Player controlled platforms 0 Answers
[2D] Rigid body snaps through floor and back 1 Answer
2d platformer physics 0 Answers