Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

is there a way to prevent a NavMesh Agent from using off-mesh links?

Discussion in 'Navigation' started by nkummel, May 20, 2017.

  1. nkummel

    nkummel

    Joined:
    May 20, 2014
    Posts:
    1
    Hi,
    I've baked an walkable area1 with offmesh links to another walkable area2.
    I have two types of units A and B both unit have the same target which is in area2.
    Unit A can jump across the off-mesh
    Unit B needs to stay at the edges of the area1
    How can i do this?
    Thanks.
     
  2. christougher

    christougher

    Joined:
    Mar 6, 2015
    Posts:
    558
    un-check auto-traverse off mesh links on the nav mesh agent