Flocking System BreakdownFlocking Systems | Boids | Geometric Flight | Flocking Behaviour | Collision Avoidance | Velocity Matching | Flock Centring | Examples | Steering Behaviours | Seek and Flee | Pursuit and Evasion | Arrival | Wander | Path Following | Wall Following and Containment
Velocity matching is the process of making sure boids try to match the velocity of their neighbours. It is complementary to collision avoidance, as it stands to reason that if a boid does a good job of matching velocity with its neighbours, it is very unlikely to collide with them. While boid-boid collision avoidance is only interested in relative positions of boids, and ignores their velocities, velocity matching does the opposite. It does not care about relative positioning, only the velocities of neighbouring boids. In effect, collision avoidance serves to establish the minimum separation distance, whereas velocity matching tends to maintain it.