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

Implementation of the trigger-volume overlap system. More...

#include "ecs/systems/TriggerSystem.hpp"
#include "ecs/components/CollisionShape.hpp"
#include "ecs/components/Position.hpp"
#include "ecs/components/TriggerVolume.hpp"
#include "ecs/physics/CollisionEvents.hpp"
#include <algorithm>
#include <cstdint>
#include <glm/vec3.hpp>
#include <vector>
Include dependency graph for TriggerSystem.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).

Functions

void systems::runTriggers (Registry &registry, bool isPredictedClient=false)
 Test every trigger-volume entity for overlap with non-trigger entities and emit Enter / Stay / Exit events.

Detailed Description

Implementation of the trigger-volume overlap system.