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. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

How can I set navigation limits on animated objects?

Discussion in 'AI & Navigation Previews' started by Burtgolf, Feb 17, 2022.

  1. Burtgolf

    Burtgolf

    Joined:
    Dec 16, 2021
    Posts:
    1
    I am trying to find a way to limit the movement of 2 objects into a specific area that is small compared to the rest of my terrain. I am setting this area up as a trigger to "run" if anything hits the trigger but not finding a way to contain the normal AI "Idle, walk, eat" to stay in this trigger area. I have searched and found many saying navmesh but have not seen how to set navmesh for such a small area instead of the entire terrain. Is anyone able to point me in a direction that may help me configure something that will accomplish this? You can see the trigger box in the screenshot below and I would like to use that same box as a containment area. Any help is very much appreciated!

    upload_2022-2-16_22-16-54.png