How do I disable player from jumping up the wall?
Hi guys, I have there one unpleasant problem with jumping up the walls. My player could jump up the walls, so I gave them tag and made it that player can't jump there. But when I want to make single 2 tiles big platform, my player still can jump up this platform from side and I can't give it tag Wall, because then the player couldn't jump from them at all!
Only solution which came to my mind was to make 2 gameobjects with tag Wall for every platform. But that's very inefficient. Then I tried to code something to stop this but nothing helped. There must be some other better method how to fix this. I was searching a lot but I never found some satisfying solution. So I came here and I hope some my fellow gamedevs will help me.
Your answer
Follow this Question
Related Questions
Collision detector suddenly stops detecting collision when move the player! Bug? 0 Answers
Where is the Jump Input in the default 2d platform controller? 0 Answers
Gravity for 2D game is lighter after updating unity yet all the settings are still the same. 0 Answers
Double jump feels really off 1 Answer