pub type PreSolveHook = Box<dyn Fn(usize, usize, &Contact) -> bool + Send + Sync>;Expand description
Pre-solve contact hook callback type
Called before each contact is solved. Return false to skip this contact.
This allows game logic to filter contacts (e.g., one-way platforms,
character controllers that ignore certain collisions).
Aliased Typeยง
pub struct PreSolveHook(/* private fields */);