#Navigation Mesh Island Under Static Collider

4 messages · Page 1 of 1 (latest)

distant badger
#

I am trying to set up some chunk based terrain generation/navmesh generation.
Im mostly there, but for some reason there is a little navmesh island being generated inside the tree's static collider.
This is what the tree's collider looks like, pointy so you cant walk on the top with some extra space below

Any idea why this is happening/how to stop it?
Makes it possible to walk inside a tree if it is on the edge of a chunk

#

Thinking about it, could the layout of the tree scene be an issue?

gilded dome
#

NavMesh baking in 3D has no concept of "inside", so the only thing that you can do to prevent navmesh from appearing inside your geometry is to not have source geometry inside in the first place or add some other smaller geometry inside that blocks the space.

distant badger
#

Hm that is odd.
Is there a way to mark something as unwalkable?
Otherwise I feel like smaller objects will also need a massive spike on top of them to prevent walkability