- Home /
Navmesh with destructible obstacles
Hi, I was just curious if anyone might know of a method to allow for destructible obstacles with a navmesh or a way to dynamically set weights. I’m working on a game where the player can place objects down and guide the AI a bit, but I want to add breakable objects so the AI will avoid them like normal unless it can be broken faster than it would take to go around it.
Answer by edthered1009 · Feb 13, 2020 at 01:15 AM
Off the top of my head, I believe A* supports realtime pathfinding, although it does take a little bit of work to get it imported and implemented into Unity. I'd recomend a YouTube tutorial. Hope this helps!
Your answer
Follow this Question
Related Questions
Trouble with Navmesh Agent and Navmesh Obstacle 0 Answers
NavMeshAgent and NavMeshObstacle together, unit jumping a small distance on toggle 2 Answers
Way to ignore specific navmeshobstacles for specific navmeshagent when creating path? 0 Answers
Horde of NavMeshAgents - stops to recalculate path. 4 Answers
How do I fix two NavMeshAgents fighting for the same position? 1 Answer