Search Unity

Gaps in NavMesh between objects on same level

Discussion in 'Navigation' started by holoDennis, Dec 7, 2017.

  1. holoDennis

    holoDennis

    Joined:
    Jun 16, 2017
    Posts:
    1
    Hey guys,

    sorry if this has already been asked, but I haven't found any answers yet.

    I've got a path made of multiple boxes. I want my chars to walk them, but after generating a NavMesh there are gaps between the boxes (as you can see in the attached picture) and I don't know why. Shouldn't walkable objects connect anyway?

    Thanks in advance and best regards!

     

    Attached Files:

    Trungdv likes this.
  2. Trungdv

    Trungdv

    Joined:
    Dec 1, 2012
    Posts:
    22
    I've got the same problem. Does anyone have a solution for this?
     
  3. Yandalf

    Yandalf

    Joined:
    Feb 11, 2014
    Posts:
    491
    This can be due to the agent size being too big, either reduce the agent radius or increase your walkable meshes' width.