So I have entities with 2D colliders on them. I attached the A* Dynamic Grid Obstacle component to the game object with the collider on it (and it has the AI pathfinding scripts) and nothing really happens. They don't try at all to avoid each other and the graph doesn't get updated at all. Anyone know a solution? (Lmk if you need more screenshots/info)
#A* Dynamic Grid Obstacle not working (or I don't understand what it does)
3 messages · Page 1 of 1 (latest)
You may want to look at the documentation of your Navigation solution to figure out why the obstacles are not modifying the NavMesh.
That being said, changing the NavMesh dynamically for each character is an awfully costly approach. Generally, you'll rather want to implement some kind of collision avoidance in your Agents, to prevent them from running into each other (I'm pretty sure that your solution would have this feature).
Ok, I'll take a look