Anyone know how to do NPC avoidance with root motion locomotion?

So I have NPCs that move around via root motion. They often bump into each other. I tried to make my own avoidance system but it’s not very good. Has anyone here done it? Can you give me advice about how it should be handled?

There are a few systems in the engine geared to solving this. Firstly, there is the RVO avoidance system documented in Using Avoidance With the Navigation System in Unreal Engine | Unreal Engine 5.5 Documentation | Epic Developer Community.

Secondly, there is Mass Avoidance documented here: Mass Avoidance Overview in Unreal Engine | Unreal Engine 5.5 Documentation | Epic Developer Community.

Which one is best, and whether either work, is largely dependent on how your NPCs are configured. It might be that Mass is a better fit, though I’m not completely sure.

Hey @Mr_AKIMBO!

Are their AI_Controllers a child of “Detour Crowd Controller AI”? Or simply “AI_Controller”?

If you’re not using a child of the detour crowd controller, try switching the parent of their AI Controllers to that and see how much better that fares for you.

Hope this helps!