Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

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:
    429
    This can be due to the agent size being too big, either reduce the agent radius or increase your walkable meshes' width.
     
unityunity