I am trying to make a 2d top-down game where the player moves obstacles in order to block enemy AI from advancing, but I need the obstacles to only block certain types of enemies.
I've tried using Unity obstacles but they carve through every navmesh so every Agent will avoid them (And I need to set them to carve because I need enemies to take another path if they are stuck) I've thought about having an obstacle that change the area beneath it instead of carving through the mesh, but I haven't seen any ways to dynamically do that without baking the whole navmesh again.
Is there any way to do that, or a plugin that could give me those features ? Thank you