Skip to content

AmrHamedDev/BoidsSimulation

Repository files navigation

BoidsSimulation

A simple, scalable Boids system plugin for Unreal Engine.

BoidsFlockSystem-ezgif com-crop

Initially made for Arab Youth Game Hackathon 2025

Features

Optimized

Uses lightweight data structures for quick iteration. No heavy Actors or UObjects for boids.

Uses spatial partitioning with Octrees to speed up flocking calculations.

Visuals are rendered using instanced static meshes, making them extremely efficient.

Scales smoothly to large numbers of agents.

Modular

Simulation and visuals are separate.

Easy to swap or remove visual components.

Flocking Behaviors can be extended without touching the core.

Debug-Friendly

Exposes different CVars to quickly control flocking behavior.

Includes a gameplay debugger for Debug drawing movement and flock info.

Include Runtime toggles and simple on-screen stats to monitor performance.

References

Boids (Flocks, Herds, and Schools: a Distributed Behavioral Model)

Coding Adventure: Boids

Quad & Oct Trees - Data Structures For Performance

Large Numbers of Entities with Mass in UE5 | Feature Highlight | State of Unreal 2022 (Hope I found that earlier :))

About

A simple Boids Flocking Simulation System.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors