Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more..
    Dismiss Notice
  3. Dismiss Notice

please help me, i'm a beginner. enemy view cone.

Discussion in 'Scripting' started by knowourculture2019, Jan 9, 2021.

  1. knowourculture2019

    knowourculture2019

    Joined:
    Aug 21, 2020
    Posts:
    9
    hello,
    now i'm creating a 3d Top Down Shooter. my enemy needs a view cone or line of sight. if the player enters it the enemy need to go to near the player and start shooting him. i have seen many tutorials but nothing works for me please help me.
     
  2. SparrowGS

    SparrowGS

    Joined:
    Apr 6, 2017
    Posts:
    2,536
  3. knowourculture2019

    knowourculture2019

    Joined:
    Aug 21, 2020
    Posts:
    9
    can I use this for Enemies?
     
  4. SparrowGS

    SparrowGS

    Joined:
    Apr 6, 2017
    Posts:
    2,536
    you can use it for whatever you want to do with it.
     
    Kurt-Dekker likes this.