NavMeshPlus icon indicating copy to clipboard operation
NavMeshPlus copied to clipboard

Not walkable areas are too big

Open Louis-Soltys opened this issue 1 year ago • 1 comments

Hi, I'm trying to generate a nevmesh with multiple tilemaps. I set the tilemap who contains my Tilemap Collider 2D as a "not walkable area" but when I bake the navmesh the range around not walkable tiles is way too big and I don't know how to reduce this range. There is an example: image

Can someone help me ?

Thanks ! (And I'm sorry for my english) :)

Louis-Soltys avatar Aug 06 '22 13:08 Louis-Soltys

@Louis-Soltys select your your agent and reduce its radius. Agents are in Navigation panel (Unity Window)

Q: How to change NavMesh padding? A: Navmesh draws where the center of the Agent can reach, not his edge. Reduce Agent's radius to get navmesh closer to the edge. Bake again to see results.

h8man avatar Aug 07 '22 07:08 h8man