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