Categories
How to set up character jump in Unity?
Tried to make the character move. Left and right it moves normally. He doesn't jump up at all. There are no errors in the script. All tags set up.
Answer the question
In order to leave comments, you need to log in
Your OnCollisionEnter2D functions are identical. Look, there are identical function bodies, that is, first one function gives a true value, and then false. And the jump works when true, but the second function gives false.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question