1. We're looking for feedback on Unity Starter Kits! Let us know what you’d like.
    Dismiss Notice
  2. Unity 2017.2 beta is now available for download.
    Dismiss Notice
  3. Unity 2017.1 is now released.
    Dismiss Notice
  4. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  5. Check out all the fixes for 5.6 on the patch releases page.
    Dismiss Notice
  6. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice

How to implement an AI NavMeshAgent performing a patrol but at on different y-axis

Discussion in 'Navigation' started by jnbbender, Jul 17, 2017.

  1. jnbbender

    jnbbender

    Joined:
    May 25, 2017
    Posts:
    9
    Bad title explanation but the gist is I'm creating a 3rd Person Shooter and you, are running along the Terrain at say y=0. But drones are patrolling overhead at say y=15. You are running over varied terrain so your global y-axis is changing. Is there an optimal way for the drones to perform a 360/180 scan around themselves between y=15-0 in an effort to try an find you without continually Raycasting each one of these Vectors? I know there's an Asset for this I'm just not sure I how they do it. (I also can't find it right now).

    This is supposed to run on an Android.
     
  2. jnbbender

    jnbbender

    Joined:
    May 25, 2017
    Posts:
    9
    Apologies. Apparently I need to read a little more about Spherecasting.