Addon for Godot that adds 2D / 3D boids (flocking).
Go to file
2024-08-26 16:57:09 +03:00
addons/boids feat: small perf improvements 2024-08-26 16:57:09 +03:00
examples/boids/2d feat: small perf improvements 2024-08-26 16:57:09 +03:00
resources chore: init 2024-08-19 16:53:54 +03:00
.gitattributes chore: init 2024-08-19 16:53:54 +03:00
.gitignore chore: init 2024-08-19 16:53:54 +03:00
LICENSE.txt chore: init 2024-08-19 16:53:54 +03:00
project.godot feat: small perf improvements 2024-08-26 16:57:09 +03:00
README.md chore: init 2024-08-19 16:53:54 +03:00

boid_2d

Addon for Godot that adds a 2D node for simulating boids / flocking.

boids

Usage

Clone the repository and copy over the addon. Make an inherited scene from boid.tscn, add a Sprite2D (or whatever visuals you have) and instantiate and spawn many. Checkout the examples on how to use it more.

TODO

  • fix weird spasming behaviour
  • improve collision (dont only bounce, maybe follow wall in some conditions etc.)
  • improve performance (BoidManager autoload that tracks and manages every boid?)