- Home /
Solved it myself, and posted the solution in the comments
Why doesn't my AI collide with walls?
I made an AI using NavMesh and NavMeshAgent. The AI works okay, however even though all my walls and such have colliders, as does the enemy, the AI seems to make him ignore his collider and just walk through walls. I have tried toggling "Height Mesh" in the nav's bake menu, that didn't make a difference. I've spent two days trying to figure this out. I've even removed and re-added colliders and redone the bakes a few times. The AI colliders with me properly, but for some reason it totally ignores the wall, while I collide with it fine.
I had, but I figured out that I also needed to make the $$anonymous$$imum region area smaller (why isn't it small by default?)
Follow this Question
Related Questions
How do you create an AI that works like this ? 1 Answer
Collider problems 0 Answers
nav mesh agent not following properly 0 Answers
Way to find closest point in a specific area on navmesh. 0 Answers