Behavior Designer – Formations Pack

The Formations Pack adds 14 classic Behavior Designer tasks for arranging and moving groups of agents. Agents can join or leave while a formation runs, and the group recalculates around the change.

Each task calculates destinations; the chosen navigation provider still owns route planning, local avoidance, and actual movement.

Start here

  1. Follow Getting Started to create a group and understand its lifecycle.
  2. Select a pattern with the overview below and Formation Task Reference.
  3. Use Runtime Control and Tuning for shared-variable APIs, dynamic membership, spacing, and route changes.
  4. Use Integrations and Troubleshooting when correct slots do not produce correct movement.
  5. Follow Create a New Formation Task for a project-specific pattern.

A Line moving to Goal

Entry connects directly to the classic Formations Pack Line task.

The blue leader reaches the orange Goal with two cyan members aligned beside it after all three Line trees report Success.

This example moves an already aligned group across an open NavMesh. The blue leader reaches the orange Goal while the two cyan members keep their lateral spacing. All three Line trees return Success. See Getting Started for the matching setup.

Included tasks

Task Formation and common use
Line Creates one lateral line for broad coverage in open space.
Row Creates one or more wide ranks for organized groups.
Column Creates one or more deep files for corridors and doors.
Echelon Creates a diagonal formation that emphasizes travel direction.
Skirmisher Creates a randomly spread line for an irregular frontage.
Wedge Places the leader at the point of an inverted V.
V Places the leader at the back of a V.
Diamond Places side members around the leader, with additional members extending behind them.
Triangle Distributes members along a triangular perimeter.
Square Distributes members along a square perimeter.
Grid Balances rows and columns for larger predictable groups.
Circle Surrounds the formation center.
Arc Places members along an open curve facing a shared area.
Swarm Keeps the group in a compact moving cluster without rigid slots.

Typical uses

  • Use Column through narrow routes.
  • Use Line or Skirmisher for lateral coverage.
  • Use Row or Grid for multi-rank groups.
  • Use Echelon, Wedge, or V when forward direction matters visually.
  • Use Circle or Arc around a point of interest.
  • Use Swarm when cohesion matters more than exact alignment.

Detailed guides