Getting Recast Graph polygons that are unwalkable

Hello,

is there any way to get areas that are not walkable from Recast Graph? And I don’t mean nodes that have Walkable == false, what I’m interested are the polygons that were cut away when scanning like the one marked red on screenshot below.

Hi

Those “polygons” may not be polygons at all. They may be arbitrary 3D contours that may self intersect when viewed from above.

However if you want to extract these contours, you can do so using the GraphUtilities.GetContours method.
See https://arongranberg.com/astar/docs/graphutilities.html#GetContours

Thank you for reply, this is what I was looking for.

1 Like