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

Off Mesh Link and NavMeshSurface

Discussion in 'Navigation' started by Griffo, Mar 16, 2019.

  1. Griffo

    Griffo

    Joined:
    Jul 5, 2011
    Posts:
    700
    Hi,

    I'm using 'NavMeshSurface' to build my NavMesh once I've generated a level with saved prefabs, 2 of those prefabs have 'Off Mesh Links' on them, and all looks fine when generated, but then when I generate waypoints around the level and use 'NavMesh.CalculatePath' to check if they are accessible if the path 'NavMesh.CalculatePath' don't/won't use the 'Off Mesh Links'.

    Looking in the Docs I noticed that you must place the link correctly and see the ring around them, in one of my static levels I can see the ring and all works fine but in the generated levels there is no ring showing, even when I have the 'Off Mesh Links' Auto Update Position checked and move the link around I can not get the ring to show.

    Anyone have any ideas please, thanks.

    Pic_00.png
     
    JBR-games likes this.