ncollide3d::pipeline::broad_phase

Trait BroadPhasePairFilter

Source
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§

Source

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.

Implementations on Foreign Types§

Source§

impl<N: RealField + Copy, Set: CollisionObjectSet<N>> BroadPhasePairFilter<N, Set> for ()

Implementors§