NavGrid Prune Unreachable
Removes unreachable walkable cells from a NavGrid.
You can keep either the largest connected component or cells reachable from seed cells.
| Parameter | Description |
|---|---|
| NavGrid | NavGrid to modify in place. |
| Reach Source | Reachability mode (LargestComponent or FromSeeds). |
| Seed Cells | Start cells for FromSeeds mode. |
| Neighbors | Connectivity mode (FourWay or EightWay). |
| Min Clearance | Required clearance to traverse (0 disables clearance checks). |
| Clear Costs And Clearance | If true, also clears Cost/Clearance on pruned cells. |
Example
- Choose Reach Source =
FromSeeds. - Add one or more valid Seed Cells (spawn points, hubs).
- Execute to strip disconnected islands from the grid.