Contents

struct

SushiEngine::Simulation::PhysicsBodyParameters

The authorable parameters of a "Rigid Body" entity.

Declared in
engine/world/simulation/include/SushiEngine/simulation/physics_body_parameters.hpp

Mirrors Physics::RigidBody's mass/inertia, in editor-facing form: no position/orientation (the entity's Transform/Orientation already carry those) and no simulated velocity (that lives in the physics world, not in anything the Inspector authors).

Properties

inv_mass

Inverse mass; 0 pins the body in place.

inv_inertia

Diagonal body-local inverse inertia; 0 = no rotation response.

drag_coefficient

Quadratic drag: acceleration -k|v|v, m⁻¹; 0 disables.

density

Holds mass per unit volume; zero keeps the hand-authored mass above.

kinematic

Marks a body moved by the game rather than by forces; it pushes and is never pushed.