[][src]Trait ncollide2d::query::contacts_internal::ContactPreprocessor

pub trait ContactPreprocessor<N: Real> {
    fn process_contact(
        &self,
        c: &mut Contact<N>,
        kinematic: &mut ContactKinematic<N>,
        is_first: bool
    ) -> bool; }

Pre-process a contact before it is added to a contact manifold.

Required methods

fn process_contact(
    &self,
    c: &mut Contact<N>,
    kinematic: &mut ContactKinematic<N>,
    is_first: bool
) -> bool

Process a contact before it is stored into a contact manifold.

Loading content...

Implementors

Loading content...