For the cohesion task, if we use a simple force relating the current boid to the centroid of the neighbors, the boid ends up by overshooting the average position and then loops back again. Doing so, I do not get a cohesive boid distribution and some boids "escape". Should I implement a dampener (however that would using velocities for computing the force)?
For the cohesion task, if we use a simple force relating the current boid to the centroid of the neighbors, the boid ends up by overshooting the average position and then loops back again. Doing so, I do not get a cohesive boid distribution and some boids "escape". Should I implement a dampener (however that would using velocities for computing the force)?