Search Unity

How to bake clean NavMesh?

Discussion in 'Navigation' started by surajsirohi1008, Jun 17, 2018.

  1. surajsirohi1008

    surajsirohi1008

    Joined:
    Jun 21, 2016
    Posts:
    267
    Here are my settings:

    Screen Shot 2018-06-17 at 11.18.26 PM.png

    Here's what it looks like, as you can see it's not clean, it's breaking:

    Screen Shot 2018-06-17 at 11.14.21 PM.png
     
  2. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,196
    What exactly isn't "clean" about this? The yellow triangles you see? Some of them just look like some mesh renderers poking through the nav mesh visualizer, but that should't affect the navmesh itself.

    Is some path blocked that you expect not to be? It's hard to tell from your image which parts you think should be walkable.
     
  3. surajsirohi1008

    surajsirohi1008

    Joined:
    Jun 21, 2016
    Posts:
    267
    Maybe you're right, the surface is not exactly flat and thus peeking out, thanks.
     
  4. adriant

    adriant

    Unity Technologies

    Joined:
    Nov 1, 2016
    Posts:
    69
    When having doubts about the continuity of the NavMesh I find it useful to switch shading mode to Wireframe.
     
  5. surajsirohi1008

    surajsirohi1008

    Joined:
    Jun 21, 2016
    Posts:
    267
    thanks for the tip.