Answer the question
In order to leave comments, you need to log in
NavMesh, why are objects cut out of the mesh so badly?
Hello.
Old problem, is there a way to solve it?
Let's say there are two houses:
When baking the grid, they should be cut out of it, but that doesn't work! Either the object is not cut out at all, or it is cut out partially.
I tried different options:
- standard nav mesh
- external component (from gita) nav mesh (I tried both mesh baking and collider baking).
As I understand it, this is because the bottom of the houses is cut out (for optimization, they cannot be entered).
Answer the question
In order to leave comments, you need to log in
As far as I know, NavMesh does not use a collider for baking, but the object's Mesh itself, so if one of the houses has no bottom, it ignores it. In this case, the only solution is to put a box the size of the house and with Static turned on. In principle, there is nothing wrong with this, sometimes it is even better - in the case of a complex mesh for a mesh. Given that it takes a fraction of a second, why not use this workaround?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question