Contents

SushiEngine::Simulation::ColliderParameters

friction_combine

std::uint32_t friction_combine = 0

Description

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

Physics::MaterialCombineMode's underlying value: Average, Minimum, Multiply, Maximum. Both bodies have an opinion and the pair needs one number, so the stricter of the two modes wins — a surface that insists on Minimum cannot be overruled into slipperiness by whatever it happens to touch.