Vai ai contenuti
File multimediali per l'articolo SquadFormation — AI Group Movement & Formation Steering: 1

Descrizione

Move a whole AI squad in formation with one component and one call.

Unreal's Navigation System moves a single agent to a point well — but there is no built-in way to move a GROUP of AI agents together in a coherent formation. SquadFormation adds a lightweight, self-contained C++ component that does exactly that: add your member pawns, pick a formation shape and spacing, and send the whole squad to a destination with a single call — each member gets a navmesh-projected slot and moves there via its own AIController.

KEY FEATURES

• Five formation shapes — Column, Line, Wedge, Circle and Box, computed from a single Shape enum and a Spacing value. Every member is placed at its relative slot around the destination automatically.

• Navmesh-projected slots — each computed slot is projected onto the Navigation System's navmesh (ProjectPointToNavigation), so members are never sent to points off the walkable surface.

• One-call group move — MoveSquadTo(Destination) assigns every member a slot and issues an AIController move order, and returns how many members were successfully ordered.

• Single drop-in component — USquadComponent goes on your leader/manager actor; add member pawns to its list and you are done. No per-agent setup, no subsystem to configure.

• Blueprint-friendly — the component, its Shape / Spacing / Members properties and MoveSquadTo are exposed to Blueprint; use it entirely from Blueprint or extend it in C++.

• Lean & self-contained — a single small runtime module, full source included, no third-party libraries, no absolute paths; builds clean with RunUAT BuildPlugin.

WHO IT'S FOR

RTS, squad-tactics and party-based RPG developers who need a group of AI agents or companions to move together in formation, and gameplay programmers who want a simple, readable formation-movement component instead of building group steering from scratch.

TECHNICAL DETAILS

• Engine version: Unreal Engine 5.8

• Type: C++ Code Plugin (full source included)

• Modules: SquadFormation (Runtime)

• Engine module dependencies: NavigationSystem, AIModule

• Supported platforms: Windows (Win64), Mac, Linux

• Third-party libraries: None

Documentation: https://wiki.teufel-engineering.com/en/SquadFormation

Support: [email protected]

Source-available: inspect the full C++ source before you buy — https://github.com/SimulatedFlow/ue-plugin-SquadFormation

Formati inclusi