Separation
Nearby boids push away from each other to avoid collisions. Increasing this creates wider spacing and more nervous motion.
Simulate flocking, schooling, herding, and emergent group motion.
Nearby boids push away from each other to avoid collisions. Increasing this creates wider spacing and more nervous motion.
Boids steer toward the average heading of their neighbors. This creates synchronized flock direction and smooth flow.
Boids steer toward the average position of their neighbors. This keeps the group together without needing a central leader.