🏹
Unit Formation
  • WELCOME
    • πŸ‘‹Hello
    • πŸ—ΊοΈRoadmap
    • ⛑️Support & Community
    • πŸŽ“Changelog
  • GETTING STARTED
    • πŸ”ŒImport package
    • βš’οΈAdd unit placement to scene
    • 🚢Add unit movement
    • πŸ“½οΈPosition units in Editor
  • HOW IT WORKS
    • πŸ‘‡Formation Placement
    • πŸ¦₯Unit Formation
    • πŸ“ΊPlacement Visuals
    • πŸ–±οΈInput
    • 🎽Formations
  • Integrations
    • 〽️A* Pathfinding Project
      • πŸ”ŒImport package
      • βš’οΈAdd unit placement to scene
      • 🚢Add unit movement
      • πŸ“½οΈPosition units in Editor
Powered by GitBook
On this page
  1. Integrations
  2. A* Pathfinding Project

Add unit movement

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

PreviousAdd unit placement to sceneNextPosition units in Editor

Last updated 11 months ago

When integrating A* Pathfinding, the initial steps from 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.

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

〽️
🚢
here
Formation Unit Component