Trait heron::rapier_plugin::rapier::ncollide::query::ContactPreprocessor[][src]

pub trait ContactPreprocessor<N> where
    N: RealField
{ pub 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

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

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

Returns false if the contact should be ignored.

Loading content...

Implementations on Foreign Types

impl<'a, 'b, N, A, B> ContactPreprocessor<N> for (Option<&'a A>, &'b B) where
    A: ContactPreprocessor<N> + ?Sized,
    N: RealField,
    B: ContactPreprocessor<N> + ?Sized
[src]

Loading content...

Implementors

Loading content...