[][src]Trait ncollide2d::pipeline::broad_phase::BroadPhasePairFilter

pub trait BroadPhasePairFilter<N: RealField, Object, Handle>: Any + Send + Sync {
    fn is_pair_valid(
        &self,
        b1: &Object,
        b2: &Object,
        h1: Handle,
        h2: Handle
    ) -> bool; }

A signal handler for contact detection.

Required methods

fn is_pair_valid(
    &self,
    b1: &Object,
    b2: &Object,
    h1: Handle,
    h2: Handle
) -> bool

Activate an action for when two objects start or stop to be close to each other.

Loading content...

Implementations on Foreign Types

impl<N: RealField, Object, Handle> BroadPhasePairFilter<N, Object, Handle> for ()[src]

Loading content...

Implementors

impl<N: RealField, Object: CollisionObjectRef<N>, Handle: CollisionObjectHandle> BroadPhasePairFilter<N, Object, Handle> for CollisionGroupsPairFilter[src]

Loading content...