[−][src]Trait oxygengine_physics_2d::prelude::ncollide2d::pipeline::narrow_phase::ContactDispatcher
Required methods
fn get_contact_algorithm(
&self,
a: &(dyn Shape<N> + 'static),
b: &(dyn Shape<N> + 'static)
) -> Option<Box<dyn ContactManifoldGenerator<N> + 'static>>
&self,
a: &(dyn Shape<N> + 'static),
b: &(dyn Shape<N> + 'static)
) -> Option<Box<dyn ContactManifoldGenerator<N> + 'static>>
Allocate a collision algorithm corresponding to a pair of objects with the given shapes.
Implementors
impl<N> ContactDispatcher<N> for DefaultContactDispatcher where
N: RealField,
[src]
N: RealField,
fn get_contact_algorithm(
&self,
a: &(dyn Shape<N> + 'static),
b: &(dyn Shape<N> + 'static)
) -> Option<Box<dyn ContactManifoldGenerator<N> + 'static>>
[src]
&self,
a: &(dyn Shape<N> + 'static),
b: &(dyn Shape<N> + 'static)
) -> Option<Box<dyn ContactManifoldGenerator<N> + 'static>>