systems Folder
Files Index
| file | helios/engine/modules/ai/systems/_module.ixx |
|
Aggregate module for helios::engine::modules::ai::systems namespace. More... | |
| file | ChaseSystem.ixx |
|
System for updating entity steering to chase targets. More... | |
Description
helios::engine::modules::ai::systems
AI behavior processing systems.
Overview
Systems that process AI components and update entity behavior. Registered with the GameLoop and executed during the appropriate phase.
Systems
| System | Purpose |
|---|---|
| ChaseSystem | Steers entities towards their chase targets |
ChaseSystem
Processes entities with ChaseComponent, SteeringComponent, and TranslationStateComponent.
Behavior
1. Target Resolution: Looks up target entity by handle 2. Timer Update: Advances cooldown timer by delta time 3. Cooldown Check: Only updates direction when timer exceeds cooldown 4. Direction Calculation: Computes normalized vector from entity to target 5. Steering Update: Sets steering intent to face calculated direction
Required Components
| Component | Purpose |
|---|---|
| ChaseComponent | Target handle and timing configuration |
| SteeringComponent | Receives steering intent updates |
| TranslationStateComponent | Provides current entity position |
Registration
Related Modules
| Module | Purpose |
|---|---|
| helios.engine.modules.ai.components | ChaseComponent data |
| helios.engine.modules.physics.motion | SteeringComponent |
| helios.engine.modules.spatial.transform | TranslationStateComponent |
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.