🎮Unit Formation Control

Explains how to use Unit Formation package with the movement system.

To control unit movement you can use the provided Unit Formation package. If you are unfamiliar with it and need more information, check out the original guide.

By following the guide above you will need to replace two components in order to use the new formation movement system.

  1. Replace UnitFormation with MovingUnitFormation which will internally utilise the FormationMovementManager for controlling the units.

  2. Replace FormationUnit with MovingFormationUnit which extends the FormationUnit and provides the movement speed interface.

  3. And don't forget to add Formation Manager

And that's it! Example on how this can be done is in the demo scene named Moving Formations Demo.

Last updated