# Configure detour AI behaviour

**URL:** <https://forums.unrealengine.com/t/configure-detour-ai-behaviour/487231>\
**Category:** AI\
**Tags:** Navigation, detour-crowds, detour-crowd-ai-cont, unreal-engine, question\
**Created:** [August 9, 2021, 2:34pm UTC](https://forums.unrealengine.com/t/configure-detour-ai-behaviour/487231 "2021-08-09T14:34:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![LordStuff](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LordStuff](https://forums.unrealengine.com/u/LordStuff)\
**Post date:** [August 9, 2021, 2:34pm UTC](https://forums.unrealengine.com/t/configure-detour-ai-behaviour/487231/1 "2021-08-09T14:34:50Z")

</div>

I am using Detour AI Controllers and currently working on simple group formations.

When formations get tighter, my pawns seem to block each other somehow, but not through actual collisions.

I believe it is somehow related to the detour logic as their paths become much tighter when not using Detour Controllers (although they then get stuck very often).

Is there a way to configure detour behaviour? Like reducing some agent radius so they can stand closer together?

Thanks in advance and cheers!

---

<div class="post-metadata">

**Author:** ![LordStuff](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LordStuff](https://forums.unrealengine.com/u/LordStuff)\
**Post date:** [August 9, 2021, 7:18pm UTC](https://forums.unrealengine.com/t/configure-detour-ai-behaviour/487231/2 "2021-08-09T19:18:26Z")

</div>

To make things a bit more clear, “tight” formations, doesn’t really mean tight. And sometimes my AI struggles more than 10 seconds in situations like this:

 ![345982-untitled.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/0/7/a07ac128a29f81fe92eae730ded511670ab41fed.png)

The last one clearly has enough space to pass between the ranks, but he doesn’t. He ends up jagging around there and finally goes around.

---

<div class="post-metadata">

**Author:** ![LordStuff](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LordStuff](https://forums.unrealengine.com/u/LordStuff)\
**Post date:** [August 9, 2021, 7:20pm UTC](https://forums.unrealengine.com/t/configure-detour-ai-behaviour/487231/3 "2021-08-09T19:20:32Z")

</div>

Alright… As I was typing the comment, I thought about avoidance settings and I looked it up and actually had RVO avoidance activated on the pawns Movement components… my bad.

With RVO turned off (or maybe just optimized better than now) the results are much better.

Still, are there means of configuration for Detour AI?

---

<div class="post-metadata">

**Author:** ![chrudimer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chrudimer/32/918651_2.png) [@chrudimer](https://forums.unrealengine.com/u/chrudimer)\
**Post date:** [August 9, 2021, 9:37pm UTC](https://forums.unrealengine.com/t/configure-detour-ai-behaviour/487231/4 "2021-08-09T21:37:50Z")

</div>

Hi, what I know about is project settings → engine → crowd manager. I only ever changed Max Agents (and Resolve Collisions if its not enabled by default) though.

---

<div class="post-metadata">

**Author:** ![LordStuff](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LordStuff](https://forums.unrealengine.com/u/LordStuff)\
**Post date:** [August 11, 2021, 8:00am UTC](https://forums.unrealengine.com/t/configure-detour-ai-behaviour/487231/5 "2021-08-11T08:00:43Z")

</div>

Yeah same! I did play around with the settings a bit but it was quite aimless and I didn’t notice any changes really…
