# Detour crowd UE4

**URL:** <https://forums.unrealengine.com/t/detour-crowd-ue4/419940>\
**Category:** AI\
**Tags:** detour-crowds, detour-crowd-ai-cont, unreal-engine, question\
**Created:** [March 15, 2018, 7:53pm UTC](https://forums.unrealengine.com/t/detour-crowd-ue4/419940 "2018-03-15T19:53:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_e2ade227](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e2ade227](https://forums.unrealengine.com/u/anonymous_user_e2ade227)\
**Post date:** [March 15, 2018, 7:53pm UTC](https://forums.unrealengine.com/t/detour-crowd-ue4/419940/1 "2018-03-15T19:53:09Z")

</div>

Hello,

I am trying to use Detour for enemy AI.

It will be super helpful if someone can explain the Avoidance config in Crowd manager? Its very hard for me to understand what values to tweak for my purpose as there is lack of resources/documentation on CrowdManager/Detour. I did come across couple of links in the Answerhub which gave me a headstart but I don’t really find a detailed explanation. I am using only blueprints which ties my hand further. Could someone please explain the different variables and how they would impact?

Lets say there are 10 guys coming towards me. Using Detour they seem to avoid each other only in close range which makes it act wierd. Can I add a radius/distance to it?

 ![233901-detour.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/7/f/57f4b2e0eabfa6cc4c4623975382351f7b6381e5.png)

---

<div class="post-metadata">

**Author:** ![Vaheva](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vaheva/32/963466_2.png) [@Vaheva](https://forums.unrealengine.com/u/Vaheva)\
**Post date:** [March 16, 2018, 3:32am UTC](https://forums.unrealengine.com/t/detour-crowd-ue4/419940/2 "2018-03-16T03:32:47Z")

</div>

This thread should help

> **[Crowd Manager Avoidance Config](https://forums.unrealengine.com/questions/212408/crowd-manager-avoidance-config.html)**
>
> I have been working with the detour avoidance system and have been trying to influence how strong the avoidance is so the units will completely veer off if they get really close. That’s when I noticed a section within the Crowd Manager called...

I not found other and better sources.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e2ade227](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e2ade227](https://forums.unrealengine.com/u/anonymous_user_e2ade227)\
**Post date:** [March 16, 2018, 4:53am UTC](https://forums.unrealengine.com/t/detour-crowd-ue4/419940/3 "2018-03-16T04:53:28Z")

</div>

Thanks for that link, I did come across that before posting this question. I am using blueprints, however I am familiar with C++ as well. I really hope there is a better documentation on how to debug and use these settings on Blueprint.

---

<div class="post-metadata">

**Author:** ![Vaheva](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vaheva/32/963466_2.png) [@Vaheva](https://forums.unrealengine.com/u/Vaheva)\
**Post date:** [March 16, 2018, 4:36pm UTC](https://forums.unrealengine.com/t/detour-crowd-ue4/419940/4 "2018-03-16T16:36:23Z")

</div>

I’m afraid here is no better source - shame 😛 if you will find something, you can catch me! I ask few times with no luck, I did my research over the web too.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e2ade227](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e2ade227](https://forums.unrealengine.com/u/anonymous_user_e2ade227)\
**Post date:** [April 4, 2018, 1:33am UTC](https://forums.unrealengine.com/t/detour-crowd-ue4/419940/5 "2018-04-04T01:33:52Z")

</div>

So I figured out that it was my root motion in my animation that was preventing the AI from avoiding each other, jeez

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e2ade227](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e2ade227](https://forums.unrealengine.com/u/anonymous_user_e2ade227)\
**Post date:** [April 13, 2018, 3:43pm UTC](https://forums.unrealengine.com/t/detour-crowd-ue4/419940/6 "2018-04-13T15:43:43Z")

</div>

https://www.youtube.com/embed/-aqo?feature=oembed&wmode=opaque  
Closest to what I can get
