/Flocking

2D Flocking in the Unity3D game engine using Craig Reynolds' boids

Primary LanguageC#MIT LicenseMIT

Unity3D Flocking using Craig Reynolds' Boids

2D implementation of Craig Reynolds' boids in the Unity3D game engine.

150 boids

The boid's emergent flocking behaviour is caused by 3 rules:

  • Alignment: steer towards the direction nearby boids are heading
  • Cohesion: steer to move toward the average position of local flockmates
  • Separation: steer to avoid colliding or getting too close to another boid

Built With

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments