Remove Navmesh Under Rock

Hi,

Is there a way to remove the Navmesh under a rock? Otherwise in rare case, enemy can spawn inside a rock.

Cheers,

Chien

If you use a convex collider, this will happen automatically.
Otherwise, you can attach a RecastMeshObj component to it, ensure “solid” is enabled, and that there are triangles underneath the rock (so that the graph can realize where the boundaries of the rock are).

This is awesome. Will attach RecastMeshObj with solid option increase CPU usage?

Not really, no. Rasterizing solid objects is slightly slower, but not by much.