SkillAgentSearch skills...

Flocking

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

Install / Use

/learn @RafaelKuebler/Flocking
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Unity3D Flocking using Craig Reynolds' Boids

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

<img alt="150 boids" src="https://user-images.githubusercontent.com/9216979/45744864-d3d7f400-bbff-11e8-9e3e-0bee1d2f5865.gif" width="500">

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

View on GitHub
GitHub Stars58
CategoryDevelopment
Updated9d ago
Forks24

Languages

C#

Security Score

100/100

Audited on Mar 16, 2026

No findings