![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | MaxTuz |
Hi
My opponent only moves along the x-axis, that is, left and right, and bounces off the wall. I have such a problem, when a player collides with him, the player dies and is reborn, and the enemy continues to move, but from the fact that the player collides with him, he moves to another point of movement, that is, the opposite side of the collision bounces off the player, thereby colliding with other objects. How to fix it.