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. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

How to bake clean NavMesh?

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

  1. surajsirohi1008

    surajsirohi1008

    Joined:
    Jun 21, 2016
    Posts:
    266
    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,113
    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:
    266
    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:
    62
    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:
    266
    thanks for the tip.