Can I make my enemy robot shoot projectiles if the enemy has a collider on it?
I used this code for the enemy weapon and it didn't work (bear in mind the number which allows the enemy to shoot is just the AI saying the player is near)
asked Jan 06, 2011 at 11:07 PM
Your projectiles might be colliding with your enemy collider.. try adding this script to the projectile...
try playing around with this script:
answered Jan 07, 2011 at 01:38 AM