How to make an obstacle only for a specific AI?

Let’s say I want to make enemies that leave landmines behind. And I have a friendly AI (like a follower) moving arround. I want that friendly AI to avoid said mines. So I made the landmines a dynamic obstacle with area class “obstacle” now the follower avoids it without issues. But some times the enemy gets stuck in its own landmine. It just drops one and wont move at all. I’m using a simple AI move to node for the enemy movement, as it only moves and drop said mines. Is there a way to make certain obstacle only affect certain AI or pawn? thanks in advance

Edit: btw, the landmines don’t have physic collisions, its just a mesh with no collisions and a sphere that overlaps or ignores everything

1 Like