- Home /
Found althernative solution.
Way to ignore specific navmeshobstacles for specific navmeshagent when creating path?
Hello again! I have a NavMeshAgent (a "smart enemy"), which must go to a target object. A target object is behind multiple doors. A door is a NavMeshObstacle, which is carving a NavMesh when it's closed. Carving is necessary, because if it is turned off, NavMeshAgents can pass "around" the door, and this is unacceptable. "Smart enemy" can open doors (he detects doors and if he is near of one and if next waypoint behind the door, he opens the door). I think, I need a way to force NavMeshAgent to create a path like there is no doors at all, and nothing is carving from NavMesh. Is there a way to do this? Also, suggest any other way to solve the problem, if it exists.
Follow this Question
Related Questions
Trouble with Navmesh Agent and Navmesh Obstacle 0 Answers
Navmesh with destructible obstacles 1 Answer
Toggling NavMeshAgent and NavMeshObstacle 2 Answers
Navmesh carving causing issues upon enabling navmesh agent component 0 Answers
How to let a navMeshAgent detect if path is blocked by an obstacle? 1 Answer