I have a basic NavMesh setup in Unity. A plane, an Agent and a destination. So far, my Agent follows the path to its destination.
When i Place an obstacle in its way, it will stop at the obstacle.
Is there a way to tell the Agent (or the obstacle?) to be destroyed, when the Path is completely blocked?
When the Agent can walk around the obstacle, I am fine with that. But a complete block should lead to the destruction of the obstacle (destruction in the moment the agent "touches" the obstacle)
I hope you understand the problem.