Open haldunbalim opened 2 years ago
You could add a velocity-dependent damping force for both cases
I am really sorry to be tedious but what I really wanted to ask is that if we have to implement it or is it fine without damping (oscillating)?
it's fine without damping for the credits but I encourage you to play around with the paramter
Hello,
I have a general question for cohesion, separation and leader tasks. Since we are controlling position of particles using force (related to 2nd derivative) we cannot stabilize them. For instance, in the cohesion mode the particles will oscillate around the CoM of neighbors. If the behavior we want to see is that all boids will converge to a single point with their neighbors we need also velocity dependent force (damping). Which behavior is more preferable to you? For cohesion I believe the former makes more sense but for leader following oscillation may seem like points are escaping from the leader sometimes (acceleration towards the leader makes them drift away once they are past the leader). Is this behavior okay for the leader following as well?
Regards