`I have a node with TileMap and NavigationRegion that contains some obstacles that should be excluded from navigation region. Using the Bake NavigationPolygon, however, does not draw the navigation region fully to the corners where I have the brown tiles set. On screenshot below you can see the result after using ‘Bake NavigationPolygon’ option. What am I missing here? Is the TileMap set incorrectly?
That is the default agent radius of 10 pixel that can be changed on the NavigationPolygon before baking.
This agent radius offset is wanted because a navigation mesh surfaces defines where an agent can stand with its CENTER. It is not like physics collision that has shapes that collide on the outside.
Without any agent radius offset if navigation mesh edge and collision edge would touch your actors would be stuck on the physics collision all the time.