BoundsUpdateSystem Class
System that updates AABB colliders based on entity transforms. More...
Declaration
Public Member Typedefs Index
| using | EngineRoleTag = helios::engine::common::tags::SystemRole |
Public Member Functions Index
| void | update (helios::engine::runtime::world::UpdateContext &updateContext) noexcept |
|
Updates collider bounds for all applicable entities. More... | |
Description
System that updates AABB colliders based on entity transforms.
This system recalculates the world-space AABB for entities by transforming the canonical model AABB through the composed local transform (Translation * Rotation * Scale) and the parent's world transform.
Required components:
- ModelAabbComponent (source canonical AABB)
- SceneNodeComponent (for parent world transform)
- TranslationStateComponent (local translation)
- ScaleStateComponent (local scaling)
- RotationStateComponent (local rotation)
- AabbColliderComponent (receives the updated world-space AABB)
Definition at line 54 of file BoundsUpdateSystem.ixx.
Public Member Typedefs
EngineRoleTag
|
Definition at line 58 of file BoundsUpdateSystem.ixx.
Public Member Functions
update()
| inline noexcept |
Updates collider bounds for all applicable entities.
For each entity with the required components, composes the local transform from translation, rotation, and scale, then applies the parent world transform to compute the final world-space AABB.
- Parameters
-
updateContext Context containing deltaTime and other frame data.
Definition at line 70 of file BoundsUpdateSystem.ixx.
Reference helios::engine::modules::physics::collision::Bounds::computeWorldAabb.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.