Flox - Animal Flocking Behaviors

- Flox -

Flox is a tool that allows developers to easily implement realistic flocking behavior in their Unity projects.


- Overview -

Flox can be used to produce flocks in a multitude of environments and situations.


The main algorithm is housed in an interface which allows a user to bring flocking AI into their Unity scenes with minimal programming knowledge. It also allows users fine-tuning over a variety of behaviours and variables to tailor the flocking AI to whichever purpose they desire.


Flox includes the Boids flocking algorithm as its primary algorithm. It is fully customizable and optimized for performance. It can be used to create realistic animations of birds, fish, and other creatures that exhibit flocking behavior.


- Key Features -

  • 3D CPU Boids implementation
  • 3D GPU Boids implementation
  • 2D CPU Boids implementation
  • Built-in renderer Support
  • URP Support
  • Partial HDRP Support
  • Developer Support
  • Documentation
  • Sample scenes (Sky, Underwater, CPU and GPU demos)

- Compatibility -

Fully supports URP 3D GPU boids and 2D CPU boids

Fully supports Built-in 3D GPU boids and 2D CPU boids

Partial support for HDRP 3D CPU boids, no HDRP support for GPU


Not sure if your project is compatible? See here.


- Roadmap -

We aim to keep improving and adding to Flox. See here for a detailed list of features we will be implementing.


Want to provide your own feedback? Join the Discord! Links are provided below.


- Socials -

Website | Youtube


- Support -

Discord