I have my enemy set up to follow the player using the nav mesh agent. I have also set up a gun that fires a basic sphere as a bullet. Both have rigidbody and collider components. When I fire the gun at the enemy, it fails to do anything. I want to shoot the bullet at the enemy, and, when it collides with it, I want the enemy to appear in another section of the map.
Please explain how I should go about doing this, as I really only know some basic scripting (I’m still learning).
Thank you.