Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

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