CollisionStateClearSystem Class
System that clears collision state components at the end of each frame. 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 |
|
Resets collision state for all entities with CollisionStateComponent. More... | |
Description
System that clears collision state components at the end of each frame.
This system iterates over all entities with a CollisionStateComponent and resets their collision state. It should run in the post-phase of the game loop to ensure collision data from the current frame does not persist into the next frame.
Running this system after collision response systems have processed their events ensures a clean slate for the next collision detection pass.
Definition at line 51 of file CollisionStateClearSystem.ixx.
Public Member Typedefs
EngineRoleTag
|
Definition at line 55 of file CollisionStateClearSystem.ixx.
Public Member Functions
update()
| inline noexcept |
Resets collision state for all entities with CollisionStateComponent.
- Parameters
-
updateContext Context containing frame data and world access.
Definition at line 61 of file CollisionStateClearSystem.ixx.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.