Skip to main content

shape_enable_pre_solve_events

Function shape_enable_pre_solve_events 

Source
pub fn shape_enable_pre_solve_events(
    world: &mut World,
    shape_id: ShapeId,
    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. (b2Shape_EnablePreSolveEvents)