I am having some collision problems between my player character and the enemy non-player characters in my game. For perspective, the game is a first person shooter. I have a player character that uses the first person controller script, with a character controller and a rigidbody. The enemy has a capsule collider and a rigidbody, neither player or enemy rigidbody’s can be set to isKinematic.
Currently, when you run up to an enemy and collide with them, if you keep holding down the move forward button, you push the enemies around the scene. I can’t have this. The enemies are attacking you while this is happening and it does not look realistic. They are also always moving towards you following you as you move around. I have tried applying force to the player character to get you away from the enemy, but this does not seem to be working at all. Any ideas?