[−][src]Trait rapier3d::geometry::ContactDispatcher
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
) -> (PrimitiveContactGenerator, Option<ContactGeneratorWorkspace>)
[src]
&self,
shape1: ShapeType,
shape2: ShapeType
) -> (PrimitiveContactGenerator, Option<ContactGeneratorWorkspace>)
Select the collision-detection algorithm for the given pair of primitive shapes.
pub fn dispatch(
&self,
shape1: ShapeType,
shape2: ShapeType
) -> (ContactPhase, Option<ContactGeneratorWorkspace>)
[src]
&self,
shape1: ShapeType,
shape2: ShapeType
) -> (ContactPhase, Option<ContactGeneratorWorkspace>)
Select the collision-detection algorithm for the given pair of non-primitive shapes.