Mark layer as just cutout


Is there a way to mark a specific layer in unity to just cutout. For example I have objects on the default layer. I would like this layer to just cut the navmesh so the agent cannot walk in spaces where a default layer object is. Right now it does this but some objects have the navigation on top of them as well. (for example a table with a flat top)

I can put a navmesh cut on each object but this is very time consuming and doesn’t seem like the optimal way to achieve this.



You can add the RecastMeshObj component to those objects and adjust the settings to make the object surface unwalkable. Currently there’s no way to do this globally per layer, I’m afraid.

1 Like