pub trait BroadPhasePairFilter<N: RealField + Copy, Set: CollisionObjectSet<N>>: Send + Sync {
// Required method
fn is_pair_valid(
&self,
h1: Set::CollisionObjectHandle,
h2: Set::CollisionObjectHandle,
s: &Set,
) -> bool;
}
Expand description
A signal handler for contact detection.
Required Methods§
Sourcefn is_pair_valid(
&self,
h1: Set::CollisionObjectHandle,
h2: Set::CollisionObjectHandle,
s: &Set,
) -> bool
fn is_pair_valid( &self, h1: Set::CollisionObjectHandle, h2: Set::CollisionObjectHandle, s: &Set, ) -> bool
Activate an action for when two objects start or stop to be close to each other.