group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
HitboxSystem.hpp File Reference

System that transforms skeleton-driven hitbox definitions from bone-local space into world-space capsules every tick. More...

Include dependency graph for HitboxSystem.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  systems
 Client-only input sampling system — split into two halves so mouse look can run every iterate() (smooth camera at any FPS) while movement keys run once per physics tick group (server-consistent).

Functions

void systems::updateHitboxes (Registry &registry, const HitboxRig &hitboxRig, float rigScale, float rigMeshMinY)
 Update world-space hitbox capsules for all entities that have JointMatrices.

Detailed Description

System that transforms skeleton-driven hitbox definitions from bone-local space into world-space capsules every tick.

Reads: Position, InputSnapshot (yaw), CollisionShape (halfExtents), JointMatrices Writes: HitboxInstance