Search Unity

Gaps in NavMesh between objects on same level

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

  1. Dennis93

    Dennis93

    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:
    17
    I've got the same problem. Does anyone have a solution for this?
     
  3. Yandalf

    Yandalf

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