Contents

SushiEngine::Simulation::IWorldEditor

physics_body_debug

virtual bool physics_body_debug(EntityId id, RigidDebugState &out) const =0

Parameters

NameTypeDescription
idEntityId

The entity to read.

outRigidDebugState &

Receives the state when id owns a rigid body.

Returns

bool

Whether out was written.

Description

Reads where a body is, how big its broadphase bound is and whether it sleeps.

See also

engine/world/simulation/include/EDITOR.md