Search Unity

Question How to make an enemy kill the player by shooting projectiles?

Discussion in 'Scripting' started by GLMGames, Aug 1, 2020.

  1. GLMGames

    GLMGames

    Joined:
    Aug 1, 2020
    Posts:
    1
    So I'm really new to programming and game design and I have an enemy that follows the player around. I just need the enemy to shoot a projectile at the player. I've tried loads of things with help from youtube, other forums etc. but can't find the right thing. The enemy just has to shoot a projectile that kills the player on impact.
     
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,909
    Here's a good start: