Separation
Each agent steers away from the neighbors it sees, harder from the nearest: every neighbor within the radius pushes along the line between them, weighted by 1/distance. The highlighted agent shows its neighborhood: the radius, and the field of view (neighbors behind it are ignored). Here it is blended with wander; set its weight to 0 to see the crowd without it.
- velocity
- desired velocity
- steering force