Answer the question
In order to leave comments, you need to log in
How to make a jump in Unity 2D?
Hello! I'm new to game development, doing my first platformer stumbled upon a problem I can't solve - the infinite jump. I watched a lot of videos, looked at the answers on different sites, but nothing worked, and there was no such normal explanation. Hope it helps, because I don't know where to find the answer.
Answer the question
In order to leave comments, you need to log in
Show me your code.
You need to set a variable that is responsible for the force of the jump.
Then the object, when you press the desired key, give a kick * to the strength of the jump.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question