[][src]Trait ncollide3d::pipeline::broad_phase::BroadPhaseInterferenceHandler

pub trait BroadPhaseInterferenceHandler<T> {
    fn is_interference_allowed(&mut self, data1: &T, data2: &T) -> bool;
fn interference_started(&mut self, data1: &T, data2: &T);
fn interference_stopped(&mut self, data1: &T, data2: &T); }

Proximity handling for BroadPhase updates.

Required methods

fn is_interference_allowed(&mut self, data1: &T, data2: &T) -> bool

A pre-filter that may cheaply discard objects before checking for bounding volume interference.

fn interference_started(&mut self, data1: &T, data2: &T)

Handle a starting interference.

fn interference_stopped(&mut self, data1: &T, data2: &T)

Handle a stopping interference.

Loading content...

Implementors

Loading content...