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

pub trait BroadPhasePairFilter<N, Object, Handle>: Send + Sync + Any where
    N: RealField
{ 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, Object, Handle> BroadPhasePairFilter<N, Object, Handle> for () where
    N: RealField
[src]

Loading content...

Implementors

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

Loading content...