Skip to content

Simple and very basic "boid" implementation based on a paper by Craig Reynolds using Unity game engine.

License

Notifications You must be signed in to change notification settings

Kuba-csproj/SimpleUnityBoids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleUnityBoids

This project implements a basic "boid" simulation in Unity, inspired by Craig Reynolds' paper on flocking behavior.

Gif preview

Boids Explained

"Boid" is a shorthand term for "bird-oid object," an agent created by Craig Reynolds that follows three core rules to simulate realistic flocking behavior:

  1. Separation: Boids avoid overcrowding by steering away from their immediate neighbors.
  2. Alignment: Boids tend to match the direction of nearby boids, fostering a sense of cohesion within the flock.
  3. Cohesion: Boids are drawn towards the average position of their neighbors, promoting flocking togetherness.

These simple rules, when combined, generate emergent flocking behavior that appears complex and natural.

Also, if you hold down your left mouse button, they avoid you :).

About

Simple and very basic "boid" implementation based on a paper by Craig Reynolds using Unity game engine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages