b2Shape_EnablePreSolveEvents

Function b2Shape_EnablePreSolveEvents 

Source
pub unsafe extern "C" fn b2Shape_EnablePreSolveEvents(
    shapeId: b2ShapeId,
    flag: bool,
)
Expand description

Enable pre-solve contact events for this shape. Only applies to dynamic bodies. These are expensive and must be carefully handled due to multithreading. Ignored for sensors. @see b2PreSolveFcn