# Metro crowd AI

**URL:** <https://forums.unrealengine.com/t/metro-crowd-ai/57777>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [March 9, 2016, 9:38pm UTC](https://forums.unrealengine.com/t/metro-crowd-ai/57777 "2016-03-09T21:38:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shrike025](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shrike025](https://forums.unrealengine.com/u/Shrike025)\
**Post date:** [March 9, 2016, 9:38pm UTC](https://forums.unrealengine.com/t/metro-crowd-ai/57777/1 "2016-03-09T21:38:37Z")

</div>

Hi,

I’m trying to set up AI for crowd at the metro station. A few guys should go to the platform -\> stop at the waypoint facing the train -\> wait -\> enter the train after the doors open -\> sit and wait inside.

The basic logic is working, however I have trouble with collision and path finding. Currently NPCs seem not to see the train - they just bump at it and push forward to get to the waypoint inside the train.

Any tips how to approach this? The train is not a blueprint, it’s a SkeletalMeshActor. I’ve tried to change nav mesh runtime to dynamic, but it doesn’t seem to work. The crowd do not try to avoid the train at all.

---

<div class="post-metadata">

**Author:** ![6ixpool](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@6ixpool](https://forums.unrealengine.com/u/6ixpool)\
**Post date:** [March 10, 2016, 6:27am UTC](https://forums.unrealengine.com/t/metro-crowd-ai/57777/2 "2016-03-10T06:27:51Z")

</div>

You probably want an event dispatcher to tell your AI when the doors open and that they can go in. The best approach with “dumb” AI is to explicitly tell them when they can and cant do stuff.

---

<div class="post-metadata">

**Author:** ![Shrike025](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shrike025](https://forums.unrealengine.com/u/Shrike025)\
**Post date:** [March 10, 2016, 10:15am UTC](https://forums.unrealengine.com/t/metro-crowd-ai/57777/3 "2016-03-10T10:15:47Z")

</div>

Yes, I have notification from doors animation and that works. The problem is in collision with the train - NPC are not going through the door, but straight ahead and block on the train wall. I could do more waypoints to set the exact path, but shouldn’t Nav Mesh do the job for me?
