Shared ECS registry type alias for the game engine.
entt::registry Registry
Shared ECS registry type alias.
Definition Registry.hpp:11
Pure physics math — no ECS types, no registry.
Definition BroadphaseTree.cpp:11
void wakeIslandOf(Registry ®istry, const ContactCache &cache, entt::entity start)
Wake every body that's currently in the same contact island as e.
Definition Sleep.cpp:54
void wakeBody(Registry ®istry, entt::entity e)
Wake a single body (e.g.
Definition Sleep.cpp:46
void updateSleep(Registry ®istry, const SleepConfig &cfg)
Update each body's sleep state from its current velocities.
Definition Sleep.cpp:17
float linearThresh
Linear velocity below which a body counts as "still".
Definition Sleep.hpp:26
float angularThresh
Angular velocity below which a body counts as "still".
Definition Sleep.hpp:29
uint16_t framesToSleep
Frames of stillness before a body sleeps (default ~0.5 s at 128 Hz).
Definition Sleep.hpp:32