V
V
vkvk2020-11-22 21:43:00
Unity
vkvk, 2020-11-22 21:43:00

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

2 answer(s)
M
mopsicus, 2020-11-22
@mopsicus

https://youtu.be/7KiK0Aqtmzc

P
Pavel Makov, 2020-11-23
@Paul_Dizer

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 question

Ask a Question

731 491 924 answers to any question