View on Asset Store (opens in new tab)
Package details
- Latest version
- 2.0
- Last updated
- First released
- Unity version
- 6000.2.8 or later
- Package size
- 190 KB
- Files
- 55
- Favorites
- 3
- Views in the past week
- 30
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $22.49 on
Keywords
Swarm AI Toolkit – Flow Fields Mass Agent Navigation
Flow Fields adds scalable grid navigation for swarms, layered movement zones, dynamic costs, terrain height support, and optimized rebuilds.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 6
Swarm AI Toolkit – Flow Fields Mass Agent Navigation screenshot 1
About this asset
Swarm AI Toolkit – Flow Fields
Flow Fields is the navigation module of the Swarm AI Toolkit, providing scalable, grid-based global movement for large groups of agents.
Instead of calculating individual paths per agent, Flow Fields generates a shared directional field across a grid. Agents sample this field to determine their movement direction, allowing thousands of units to navigate efficiently toward a target with minimal overhead.
This approach is ideal for RTS games, crowd simulations, swarm behaviors, and large-scale NPC systems where performance and stability are critical.
Flow Fields integrates directly with Swarm AI Toolkit – Core and leverages its system-driven update architecture.
How It Works
- A cost field is generated from a target position.
- A direction field is computed across the grid.
- Agents sample the grid at runtime.
- Movement remains fully system-driven and physics-free.
No per-agent pathfinding.
No NavMesh dependency.
No Rigidbody movement.
Designed for Scale
Flow Fields allows hundreds or thousands of agents to:
- Move toward shared objectives
- React to dynamic target changes
- Recalculate efficiently when needed
- Maintain stable performance at large scales
It is particularly well suited for:
- RTS unit movement
- Tower defense games
- MOBA minion waves
- Swarm AI
- Large background crowds
Requires
Swarm AI Toolkit – Core
Flow Fields builds on Core’s simulation architecture and spatial systems.
From the publisher's Asset Store listing.
Technical details
Core Features
- Grid-based flow field generation
- Shared direction field for all agents
- Dynamic goal updates
- Cost field computation
- Optional obstacle stamping support
- Non-alloc agent sampling
- Fully system-driven integration with Swarm Core
- Physics-free movement model
Performance Characteristics
- No per-agent A* pathfinding
- O(grid) field generation
- Scales efficiently with large agent counts
- Suitable for 1,000+ agents depending on grid resolution
Included Systems
- Flow field grid manager
- Cost field builder
- Direction field generator
- Runtime sampling API
- Target cellDebug visualization for:
Cost heatmap
Direction vectors
Not Included
- Steering or local avoidance
- Physics-based obstacle resolution
- NavMesh integration
- Terrain height sampling
- Built-in combat systems
These systems are provided through other Swarm AI Toolkit modules.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 6000.2.8f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.