Contents

struct

SushiEngine::Simulation::ColliderParameters

Holds the authorable parameters of a "Collider" entity: its collision volume.

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

See also

engine/world/simulation/include/PHYSICS.md

Properties

kind
parameters
layer

Names the collision layer this body is in, as an index rather than a mask.

collides_with

Names the layers this body collides with, as a mask; all by default.

static_friction

Holds the Coulomb friction of this surface, combined with the other body's.

dynamic_friction

Resistance once the contact is already sliding.

restitution

How much of the closing speed is returned; 0 is dead, 1 is lossless.

trigger

Reports overlaps instead of resolving them.

continuous_collision

Opts this body in to conservative-advancement continuous collision.

friction_combine

How this surface's friction combines with the one it touches.

restitution_combine

Selects how this surface's restitution combines with the one it touches; maximum by default.