Skip to main content

physics Folder

Folders Index

foldercollision

Collision detection components, events, and systems. More...

foldermotion

Files Index

filehelios/engine/modules/physics/_module.ixx

Aggregate module for helios::engine::modules::physics namespace. More...

filemodules/physics/registry.ixx

Component registration for entire physics module. More...

Description

helios::engine::modules::physics

Physics simulation and collision detection subsystem for the game engine.

This namespace provides the complete physics layer for the helios game engine, including movement simulation, collision detection, and physics-related event handling.

Submodules

SubmodulePurpose
collision/AABB collision detection with spatial partitioning
motion/Velocity-based movement and steering systems

Key Classes

Collision

ClassPurpose
CollisionComponentLayer ID, collision mask, and behavior per collider
AabbColliderComponentWorld-space AABB for broad-phase detection
CollisionStateComponentPer-frame collision results (solid/trigger hits)
GridCollisionDetectionSystemSpatial-hash broad-phase + narrow-phase collision
BoundsUpdateSystemUpdates world-space AABBs from transforms
CollisionStateResponseSystemExecutes collision behaviors (despawn, bounce)

Motion

ClassPurpose
Move2DComponentVelocity, speed, acceleration, damping config
DirectionComponentNormalized direction vector
SteeringComponentRotation speed and steering behavior config
Move2DSystemIntegrates velocity and updates translation
SteeringSystemUpdates heading from steering input


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.