push object with add force in Unity3D
I made top down shooter game where enemies are following the player. If they touch you, they push you with AddForce. I’ve managed to do that but only on specific direction. Problem is that if enemy is coming from player’s right, they still gonna push you to the right and not to the opposite direction… Read More push object with add force in Unity3D