NavMesh Agent blocked path
Hello, I have a project where I am using NavMesh Agent and Obstacles as a core mechanics of the game. I have baked a NavMeshSurface to the ground so the Agents can find their way to the End point. The player is placing Obstacles in front of the Agents to block their path. I am struggling to make the Agents do damage to the Obstacles if they are fully blocked and there is no available path to the end point. Note: (By fully blocked I mean that they are just standing at one place and do nothing. If this happens I want the Agents to start attacking the Obstacles in order to make their own way to the End point) Any suggestions of how to check if there is available path are deeply appreciated! Thank you in advance
Your answer
Follow this Question
Related Questions
Farthest Reachable Destination 0 Answers
Pros and cons to using Navmesh Agents over custom-made AI? 1 Answer
Problem with NavMesh 0 Answers