logo80lv
Articlesclick_arrow
Research
Talentsclick_arrow
Events
Workshops
Aboutclick_arrow
profile_loginLogIn

Watch 100,000 AI Agents Navigating Maze with Collision in Unreal Engine 5

A curious crowd simulation by Allie Bri.

Developer Allie Bri showcased an interesting crowd simulation set up in Unreal Engine, adding collision and introducing a whopping 100,000 AI agents to a bunch of boxes that create a maze of sorts.

The agents need to navigate through the obstacles, and it's clear how the majority of them are stuck at the beginning of the maze, with only a handful reaching the end.

The simulation was set up with Nanite instanced static meshes with VAT and "a lot of custom C++." The project uses less than 1,000 MB of memory, according to Bri.

Allie Bri

"The animation portion of this right now is very limited. Instance/particle space to absolute world space. Animations are changed with material custom data values based on how they were baked – start & end frame with play rate."

Allie Bri

The work features:

  • Local partitioning for static & dynamic collision
  • Multi-objective vector flow fields for navigation/pathfinding
  • Efficient behaviors running per instance parallel on CPU.
  • Nanite instancing with vertex animated textures.
  • Realtime simulation at ~10ms game thread for 100K agents.

I'm sure we will see even more AI agents running and completing more complicated tasks in the future. Meanwhile, take a look at this cute AI called Albert teaching himself to walk using deep reinforcement learning.

Join our 80 Level Talent platform and our new Discord server, follow us on InstagramTwitterLinkedInTelegramTikTok, and Threads, where we share breakdowns, the latest news, awesome artworks, and more.

Join discussion

Comments 0

    You might also like

    We need your consent

    We use cookies on this website to make your browsing experience better. By using the site you agree to our use of cookies.Learn more