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

Trigger-volume marker component. More...

#include <cstdint>
Include dependency graph for TriggerVolume.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TriggerVolume
 Marker + filter data for a trigger-volume entity. More...
struct  CollisionLayer
 Optional layer assignment for an entity. More...

Detailed Description

Trigger-volume marker component.

Attach this alongside Position and CollisionShape to turn an entity into a sensor (no physical response — overlap events only). TriggerSystem reads the entity's collision shape to compute overlaps each tick and emits Enter / Stay / Exit events.