K
K
kititnik12021-02-07 22:35:32
Unity
kititnik1, 2021-02-07 22:35:32

How to make the player push away from the enemy in the unit?

There is an enemy and a player. It is necessary that when the enemy touches the enemy, he is repelled. If anything, gravity is at 0. I tried absolutely everything that is. Through addforce does not work either. Tell me what can be done. Game 2d.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question