speen's space

making boids in the godot engine

October 11, 2021 ยท programming, simulations

These are boids. They are an example of fairly complex behaviors coming from simple rules. They are supposed to be an accurate simulation of flock/schooling behavior that can be observed in birds/fish.

what rules do boids follow?

There are lots of rules people have made for better boid simulations, but these boids follow the three most common rules:

resources

I looked at a few resources for this project, here they are.

view the code on github

You can view the code for this project in its repository on github, here.