Trait ncollide::broad_phase::BroadPhasePairFilter
[−]
[src]
pub trait BroadPhasePairFilter<P, M, T> where
P: Point, { fn is_pair_valid(
&self,
b1: &CollisionObject<P, M, T>,
b2: &CollisionObject<P, M, T>
) -> bool; }
A signal handler for contact detection.
Required Methods
fn is_pair_valid(
&self,
b1: &CollisionObject<P, M, T>,
b2: &CollisionObject<P, M, T>
) -> bool
&self,
b1: &CollisionObject<P, M, T>,
b2: &CollisionObject<P, M, T>
) -> bool
Activate an action for when two objects start or stop to be close to each other.
Implementors
impl<P, M, T> BroadPhasePairFilter<P, M, T> for CollisionGroupsPairFilter where
P: Point,