Trait ncollide3d::query::ContactPreprocessor [−][src]
pub trait ContactPreprocessor<N: RealField> { 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
[src]
&self,
c: &mut Contact<N>,
kinematic: &mut ContactKinematic<N>,
is_first: bool
) -> bool
Process a contact before it is stored into a contact manifold.
Returns false
if the contact should be ignored.
Implementations on Foreign Types
impl<'a, 'b, N, A: ?Sized, B: ?Sized> ContactPreprocessor<N> for (Option<&'a A>, &'b B) where
N: RealField,
A: ContactPreprocessor<N>,
B: ContactPreprocessor<N>,
[src]
impl<'a, 'b, N, A: ?Sized, B: ?Sized> ContactPreprocessor<N> for (Option<&'a A>, &'b B) where
N: RealField,
A: ContactPreprocessor<N>,
B: ContactPreprocessor<N>,
[src]fn process_contact(
&self,
c: &mut Contact<N>,
kinematic: &mut ContactKinematic<N>,
is_first: bool
) -> bool
[src]
&self,
c: &mut Contact<N>,
kinematic: &mut ContactKinematic<N>,
is_first: bool
) -> bool