# Enemy AI Pushes and Launches Each Other When in Pack

**URL:** <https://forums.unrealengine.com/t/enemy-ai-pushes-and-launches-each-other-when-in-pack/442439>\
**Category:** AI\
**Tags:** ai-navigation, detour-crowd-ai-cont, ai-controller, unreal-engine, question\
**Created:** [January 31, 2019, 5:23am UTC](https://forums.unrealengine.com/t/enemy-ai-pushes-and-launches-each-other-when-in-pack/442439 "2019-01-31T05:23:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cashnastymike](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cashnastymike](https://forums.unrealengine.com/u/cashnastymike)\
**Post date:** [January 31, 2019, 5:23am UTC](https://forums.unrealengine.com/t/enemy-ai-pushes-and-launches-each-other-when-in-pack/442439/1 "2019-01-31T05:23:24Z")

</div>

I’m creating a game with zombie type enemies which rush straight at the player in waves. The AI has been programmed to do nothing but to run straight to the player and attack when in range. However, the AI gets too close together when in a pack, and the bunching up leads to them pushing each other, resulting in enemies being launched sideways and into the air. I’ve tried using the crowd detour controller, but that created problems of its own (the AI would move around strangely). Solutions?

---

<div class="post-metadata">

**Author:** ![JanakPRB](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JanakPRB](https://forums.unrealengine.com/u/JanakPRB)\
**Post date:** [February 21, 2022, 12:23am UTC](https://forums.unrealengine.com/t/enemy-ai-pushes-and-launches-each-other-when-in-pack/442439/2 "2022-02-21T00:23:22Z")

</div>

Here is a video I made on the topic hope you find it useful

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/9/9/399b370dd1c1e4fc05cf48a0bcf5ba8e411bad56.jpeg "Ue4 C++ AI Behavior Essentials Part 4 - Strafing and Shooting") ](https://www.youtube.com/watch?v=3RI7Npuag1s)
