Contents

SushiEngine::Simulation::IWorldEditor

set_matter_debug

virtual void set_matter_debug(bool enabled)=0

Parameters

NameType
enabledbool

Description

Asks the matter scene to publish every body's intact beams, or stops it.

Off by default, so a frame nobody debugs pays nothing. The beams reach Render::MatterInstance::debug_beams from the next extract; a change while paused re-extracts the matter instances at once (docs/design/MATTER_SYSTEM.md §9).