Trait heron::rapier_plugin::rapier::geometry::ProximityDispatcher [−]
Trait implemented by structures responsible for selecting a collision-detection algorithm for a given pair of shapes.
Required methods
pub fn dispatch_primitives(
&self,
shape1: ShapeType,
shape2: ShapeType
) -> (PrimitiveProximityDetector, Option<Box<dyn Any + 'static + Send + Sync, Global>>)
&self,
shape1: ShapeType,
shape2: ShapeType
) -> (PrimitiveProximityDetector, Option<Box<dyn Any + 'static + Send + Sync, Global>>)
Select the proximity detection algorithm for the given pair of primitive shapes.
pub fn dispatch(
&self,
shape1: ShapeType,
shape2: ShapeType
) -> (ProximityPhase, Option<Box<dyn Any + 'static + Send + Sync, Global>>)
&self,
shape1: ShapeType,
shape2: ShapeType
) -> (ProximityPhase, Option<Box<dyn Any + 'static + Send + Sync, Global>>)
Select the proximity detection algorithm for the given pair of non-primitive shapes.