Closed joshuaoreilly closed 2 years ago
sorry for the confusion, those are meant for separate tasks. when you match the velocity direction you don't have to match the average position. However, since they are really just penalty forces, you could combine them with different weights, if you wish to have them together.
The instructions for this sub-question of Part III confuses me.
What does that mean, "match the direction"?
So we're averaging the velocity direction of all neighbors and moving in that direction? In which case, the boid can't really move in the same direction as the average position of the neighbors as well, right? Those instructions seem contradictory.