Question by
Arcana96 · Jul 20, 2017 at 12:42 PM ·
scripting problemainavmeshnavmeshagentnavigation
Have players NavMeshAgent ignore Enemy NavMeshObstacle carving
Hello,
I'm building a point & click game using the Unity NavMesh for pathfinding. I've set it up so when an enemy stops to attack a player I enable the NavMeshObstacle component attached to it so that other enemies can navigate around it to also attack the player. The problem with this system is that it messes with my interaction system and the player will try to find a way around the non-moving enemy to attack it. So, is there any way for only the player to ignore the NavMeshObstacles attached to the enemies?
Thanks!
Comment
Your answer
Follow this Question
Related Questions
ai patrol and chase question 0 Answers
Farthest Reachable Destination 0 Answers
NavMeshLink don't work in correctly in certain area 0 Answers
Need help with Nav Mesh Agent getting "stuck" at high speeds 0 Answers