b2Shape_EnableContactEvents

Function b2Shape_EnableContactEvents 

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

Enable contact events for this shape. Only applies to kinematic and dynamic bodies. Ignored for sensors. @see b2ShapeDef::enableContactEvents @warning changing this at run-time may lead to lost begin/end events