Skip to content

Files

Latest commit

 

History

History
25 lines (20 loc) · 1.22 KB

README.md

File metadata and controls

25 lines (20 loc) · 1.22 KB

Boids in Godot

What this is:

  • Actors wrap around a defined area while moving, randomly to begin with.
  • Crag Raynolds' Boids algorithm breaks down individual behaviors in three rules.
  • Separation defines a vector pointing away from neighbors.
  • Alignment defines a vector aligned with neighbors' moving direction.
  • Cohesion defines a vector pointing towards neighbor average location.
  • Group management exists only in the form of spawning more actors.
  • Adds predators to periodically destroy boids.
  • Predators calculate the shortest route to their target, considering wrapping as an option.

Heavily inspired by:

VFX: