- Home /
How to have obstacles on separate nav mesh layers
I am having a problem with nav mesh obstacles. Basically, I have a red enemy and a blue enemy. I want red enemies to be affected by red walls, and blue enemies to be affected by blue walls. That's it, very simple. I have downloaded the NavMeshComponents and I am using that.
I have all the different layers set up correctly. I have a red agent and a blue agent, with each surface specifically using those. However, when I make a NavMeshObstacle, and put it on a red wall layer, it bakes into the blue nav mesh as well.
How can I make the red nav mesh surface not be affected by the blue wall?
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Navmesh Obstacle+Dynamic Pathfinding 1 Answer
Problem with ray tracing and obstacle detection 0 Answers
When is the NavMesh updated after a carving (obstacle) change 2 Answers