Trait ncollide::narrow_phase::ProximityHandler [] [src]

pub trait ProximityHandler<P, M, T> where
    P: Point
{ fn handle_proximity(
        &mut self,
        co1: &CollisionObject<P, M, T>,
        co2: &CollisionObject<P, M, T>,
        prev_status: Proximity,
        new_status: Proximity
    ); }

A signal handler for proximity detection.

Required Methods

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

Implementors