🚢Add unit movement

Integration guide to set up your units with navigation for formation.

When integrating A* Pathfinding, the initial steps from here are a little bit different.

Steps to setup:

  1. Open your unit prefab

  2. If you do not have it yet, add any AStar pathfinding component to your unit game object that will be controlled for movement. Either you use a custom one, or one of these AIPath, AILerp, etc.

  3. Then use the provided ASPFormationUnit component.

  4. Save unit prefab.

Formation Unit Component

That is it! With navigation and ASPFormationUnit component you should be able to control your unit's movement.

Last updated