CMM-22 / a3

0 stars 0 forks source link

Cohesion #22

Closed alyelhakie closed 2 years ago

alyelhakie commented 2 years ago

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)?