Contents

struct

SushiEngine::Simulation::ContactEvent

Reports one thing touching another to gameplay.

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

See also

engine/world/simulation/include/PHYSICS.md

Properties

a
b
phase
point

The manifold's deepest point, in world space.

normal

Unit normal, pointing from a toward b.

impulse

Total normal impulse the contact carried, in newton-seconds.

trigger

Whether one side was a trigger, so the pair was reported and not resolved.

trigger_is_b

Whether b, not a, is the trigger side, when exactly one is.