Some areas couldn't fit the terrain

Hi
I found that when using RecastGraph, the NavMesh in some areas couldn’t fit the terrain properly.
How should I configure it to make the NavMesh fit the terrain as closely as possible?



  • A* version: [5.0.4]
  • Unity version: [2022.3.9]

Hi

By using tiles (see recast graph settings), you can split up the terrain into smaller chunks. This will make it follow the terrain much more closesly, and is strongly recommended when using open areas on an undulating terrain. The recommended tile size for most cases is somewhere between 64 and 256.

1 Like