Jump to content

[LE] Navmesh Problem - NPC runs toward the cell exit instead of another room


Recommended Posts

Anyone knows what can cause this? Some kind of cell boundaries?

 

I fixed the navmesh so it is continuous and not overlapping, no warning, the checking tool says its fine. NPC can walk in room1 and in room2. When they are trying to walk from room 1 to room 2 instead of going through doorway NPC runs toward the cell exit doorway and enters/exits it indefinitely.

 

Anyone had anything similar?

Link to comment
Share on other sites

" When they are trying to walk from room 1 to room 2 instead of going through doorway NPC runs toward the cell exit doorway and enters/exits it indefinitely. "


- Clarify what do you mean by " room ", a Cell to Cell connection or two different sections of the same cell ?.

Link to comment
Share on other sites

1) If you have a door that connects both rooms be sure that the door is " Accessible ".


2) - Run " Set Pathing Test Attribute ".

checks if the NavMesh is actually usable for npcs to walk from A to B.


- Run " Chech NavMesh ".

In NavMesh press " Find Triangle " and then the first button " Chack NavMesh ". To navigate to errors press button " Next Warning ".


3) Chech that all your NavMesh is actualy connected, if you have auto generate the NavMesh, then this can easily be the problem.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...