N
N
NickName73312018-08-20 22:55:22
C++ / C#
NickName7331, 2018-08-20 22:55:22

Unity(C#) - How to fix jump?

The implementation of the jump in the 2D platformer was made through "rigidbody.AddForce", when receiving damage, the same thing happens (that is, repulsion). Because of this, a bug occurs, if you use a jump before taking damage, there is too strong repulsion (as I understand it, the effects are summed up). How can this be fixed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Griboks, 2018-08-21
@NickName7331

It's not a bug, it's physics. It is necessary to use a weakened repulsion during the jump.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question