aboutsummaryrefslogtreecommitdiff
path: root/src/geometry/contact_generator/contact_dispatcher.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/geometry/contact_generator/contact_dispatcher.rs')
-rw-r--r--src/geometry/contact_generator/contact_dispatcher.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/geometry/contact_generator/contact_dispatcher.rs b/src/geometry/contact_generator/contact_dispatcher.rs
index 62a1f71..1872c7b 100644
--- a/src/geometry/contact_generator/contact_dispatcher.rs
+++ b/src/geometry/contact_generator/contact_dispatcher.rs
@@ -99,7 +99,9 @@ impl ContactDispatcher for DefaultContactDispatcher {
| (ShapeType::Cone, _)
| (_, ShapeType::Cone)
| (ShapeType::RoundCylinder, _)
- | (_, ShapeType::RoundCylinder) => (
+ | (_, ShapeType::RoundCylinder)
+ | (ShapeType::Capsule, _)
+ | (_, ShapeType::Capsule) => (
PrimitiveContactGenerator {
generate_contacts: super::generate_contacts_pfm_pfm,
..PrimitiveContactGenerator::default()