Skip to main content

PreSolveFcn

Type Alias PreSolveFcn 

Source
pub type PreSolveFcn = fn(ShapeId, ShapeId, Pos, Vec2, u64) -> bool;
Expand description

Prototype for a pre-solve callback. Called after a contact is updated, only for awake dynamic bodies with pre-solve events enabled. Return false to disable the contact this step. (b2PreSolveFcn)