How to make enemy projectiles give damage to player

Hey i am following the zombie first person shooter and i would like to know how can i kake the enemy projectiles do damage to player? I used the projectile script and attached it to the sphere the enemy is using but no damage is being done to player

Hi,

Welcome to our community! :slight_smile:

Have you already tried to add Debug.Logs to your code to see what is going on during runtime? What are the enemy’s projectiles exactly? Particles? If so, don’t forget to enable “Send Collision Messages” in the particle system component.

Privacy & Terms