Process
Group movement
You might say: formations, flocking, crowd movement, flow fields
Movement rules that keep several units coordinated while preserving spacing, roles, routes or formation shape.
- What it does
- Makes a group arrive as a useful group instead of turning many individually valid paths into a jam.
- Ask
- What must the group preserve, and which local rule resolves a conflict between cohesion, spacing and progress?
- Trouble
- The group bunches up, oscillates at a doorway, loses its leader, or spreads so far that it no longer acts together.
What to look for
- Units keeping lanes or relative offsets
- A formation that bends around an obstacle
- Separation, cohesion or alignment vectors in a debug view
Sources
- Craig W. Reynolds, Steering Behaviors For Autonomous Characters, Steering Behaviors
The next three steering behaviors: separation, cohesion, and alignment, relate to groups of characters.
- Craig W. Reynolds, Steering Behaviors For Autonomous Characters, Steering Behaviors
Flocking behavior: in addition to other applications, the separation, cohesion and alignment behaviors can be combined to produce the boids model of flocks, herds and schools
Use it on your project
teardown-apply: hold "Group movement" (group-movement) from the teardown at https://teardownatlas.com/game-ai/ against my project
Paste it into a coding agent that has the teardown skills.
An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal