Skip to content

Engine → Physics

physics_world.h

One Jolt world bound to one ecs::world. Non-copyable and non-movable: the Jolt listeners hold its address. Owner-thread calls (the thread that constructed the world) are attach, detach, the step pipeline and the queued body API; queries run from any thread while no step runs.

Structs

File Description
physics_stats Counters for the profiler and tests.

Classes

File Description
physics_world One Jolt world bound to one ecs::world. Non-copyable and non-movable: the Jolt listeners hold its address. Owner-thread calls (the thread that constructed the world) are attach, detach, the step pipeline and the queued body API; queries run from any thread while no step runs.

Forward Declarations

body_command

struct body_command;

A queued body mutation. Opaque to users.

physics_world::state

struct state;