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

Transform skeleton joint poses into world-space hitbox capsules. More...

#include "ecs/systems/HitboxSystem.hpp"
#include "ecs/components/CollisionShape.hpp"
#include "ecs/components/Hitbox.hpp"
#include "ecs/components/InputSnapshot.hpp"
#include "ecs/components/PlayerVisState.hpp"
#include "ecs/components/Position.hpp"
#include "ecs/components/RespawnTimer.hpp"
#include <cmath>
#include <glm/ext/matrix_transform.hpp>
#include <glm/gtc/quaternion.hpp>
#include <vector>
Include dependency graph for HitboxSystem.cpp:

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).

Macros

#define GROUP2_HITBOX_HAS_PARALLEL   0

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

Transform skeleton joint poses into world-space hitbox capsules.

Macro Definition Documentation

◆ GROUP2_HITBOX_HAS_PARALLEL

#define GROUP2_HITBOX_HAS_PARALLEL   0