Exclude dynamic capsules from pathfinding

Is it possible to exclude certain collision shapes (in my case it’s a capsule on a pawn) from pathfinding? Ideally I want to get something like

FindPath(from, to, excluded_shapes)

This is for dynamic obstacle avoidance (I can’t use engine avoidance for my project).

Short answer: No.

Longer answer: the only way is to have dynamic or ‘modifiers only’ navmesh and have the capsules to be avoided annotate navmesh (preferable only when they stop moving).



That’s what I’m doing at the moment: dynamic navareas around pawn which updated always (not only on stop) since pawns big enough and should always be avoided (even if it moves). I see it’s the only way. Thanks.