This document is about: QUANTUM 3
SWITCH TO

Overview

Level
ADVANCED

Introduction

Flow Fields is a navigation technique suitable for large amounts of units with a shared destination on grid based games (for example RTS, Tower Defense, etc). This addon supports map sizes up to 256x256 tiles.

Technical Requirement

  • Quantum SDK 3.0 or up
  • Unity 2021.3 LTS or up

Download

VersionRelease DateDownload
3.0.08月 12, 2025Quantum Flow Fields Addon 3.0.0Release Notes

Known Issues/Limitations

  • The Flow Fields Map data can only be modified in Verified frames;
  • Lack of built-in unit avoidance (though it is possible to perform avoidance with using the physics systems - see the Advanced Example for more info).

The three core concepts

  • Flow Field Map: the grid in which units can move. This map is subdivided into smaller parts - the controllers;
  • Flow Field Controller: these are smaller parts of the map. It contains portals (connectors between neighboring controllers) and precomputed flows to these portals. Controllers are subdivided into smaller parts - the tiles;
  • Flow Field Pathfinder: the unit component which provides the direction in which it should move.

Screenshots

Overview
Overview
Overview
Overview
2000 units, each calculating new path every second.

Release History

3.1.0

  • Added support for multiple flow field maps which can be baked individually and referenced by flow fields agents;

  • Added possibility to customize the baking of flow field maps which can be used, for example, to create different maps for ground and flying units;

  • Added possibility to add an Offset to a Flow Field map so it can be baked out of the world central position;

  • Fixed memory leak when settings paths to agents;

  • Fixed GC Alloc;

  • Breaking Change: FrameContextUser now has an array of flow field maps rather than only one. The map now has to be manually set again on the Quantum Runner;

3.0.0

  • Initial Release;
Back to top