Swarm Core is a lightweight, system-driven foundation for large-scale agent movement and swarm simulations in Unity. It allows you to create multiple agents with spawn points.Swarm Core is the foundation layer of the Swarm AI Toolkit, providing a lightweight and scalable framework for building large-scale agent simulations in Unity.Designed for games, simulations, robotics prototypes, and autonomous agent systems, Swarm Core handles the essential building blocks required by advanced AI systems while remaining fully modular and engine-friendly.The package includes agent management, spatial hashing, movement integration, steering support, height sampling, and debugging utilities, allowing developers to build performant swarm behaviors without relying on heavyweight navigation systems.Swarm Core serves as the backbone for other Swarm AI Toolkit modules such as Flow Fields, Avoidance, Perception, and Decision Systems, but it can also be used independently for custom AI and simulation projects.Whether you're creating RTS units, crowds, drones, creatures, autonomous robots, or large-scale simulations, Swarm Core provides the infrastructure needed to manage hundreds or thousands of agents efficiently.Key BenefitsLightweight and modular architectureDesigned for large-scale agent simulationsEfficient spatial hashing and neighbor queriesExtensible steering and movement frameworkSupports both ground and flying agentsDebug visualization tools includedWorks as a standalone system or as part of the Swarm AI ecosystemSwarm AI Toolkit – CoreSwarm Core is the foundational module of the Swarm AI Toolkit, designed for efficiently moving and managing large numbers of agents in Unity.It is built for RTS units, crowds, swarms, and large-scale simulations where performance, determinism, and scalability matter more than physics-based realism.Swarm Core provides a clean, system-driven architecture for agent simulation, allowing you to build navigation, steering, perception, or combat systems on top — without being locked into Unity’s Rigidbody or NavMesh workflows.What Swarm Core ProvidesCentralized, system-driven update loopLightweight planar (XZ) movementHigh-performance spatial hash grid for fast radius queriesNon-alloc query API for large-scale simulationsOptional debug visualization (agent radius & velocity)Unity-friendly MonoBehaviour integrationModular architecture designed for extensionSwarm Core intentionally avoids Rigidbody physics and NavMesh dependencies.Agents are fully system-driven to ensure stability when simulating hundreds or thousands of units.Movement remains fully simulation-driven and physics-free for scalability.Agents are not moved by physics and do not rely on environment collision resolution.Designed as a FoundationSwarm Core is not a monolithic AI framework.It focuses on one responsibility:Efficient large-scale agent simulation.Navigation, steering, perception, and advanced behaviors are provided through additional Swarm AI Toolkit modules.Use CasesRTS unit movementCrowd simulationSwarm behaviorsMOBA-style minionsLarge-scale NPC systemsBackground population systemsWhat Swarm Core Does NOT IncludePathfinding or NavMesh integrationObstacle avoidance or steering behaviorsBuilt-in combat or health systemsPhysics-based collision responseTerrain height samplingThese systems are designed to be layered on top or added via other Swarm AI Toolkit modules.AI tools were used to assist with code structure, documentation drafting, and implementation review. Final design decisions, testing, tuning, and asset integration were manually reviewed and refined.


