My zombie NPC does not cross opened door/gate

New to unreal!

Ideally When The gate opens the zombie is free to follow the player controlled character on the right. Although, I’m unable to figure out why the zombie is still blocked even though the gate is up. The collision of both the zombie and the player are the same. The Player can move through the gate. The zombie not.

When I set the collision of the gate to no collision the zombie can walk through the full gate.

NotCrossingOpenGate

That’s probably because your navmesh is set to be static, which means that when the door is opened the navigation is not rebuilt, and the path is still considered blocked. You can select your RecastNavMesh actor in your scene you can set the runtime generation to Dynamic, and I believe it should work after that

3 Likes

Thank you!