Contents

SushiEngine::Simulation

FrameMode

enum class FrameMode

Description

How an entity's authored transform is interpreted relative to its frame.

The mode selected in the inspector's Reference row (see EntityFrame). It governs only the authoring boundary — how IWorldEditor::frame_local_transform expresses the pose and how IWorldEditor::set_frame_local_transform stores it — not the scene-frame Transform the physics and renderer work in.

Auto

Resolve Surface vs Free from the entity's altitude over the body.

Free

Inertial: position is a scene-axis offset from the body centre.

Surface

Ground-fixed: rotation is ground-local (upright is identity anywhere).