aboutsummaryrefslogtreecommitdiff
path: root/examples3d/debug_prismatic3.rs
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2022-05-31 10:22:28 +0200
committerGitHub <noreply@github.com>2022-05-31 10:22:28 +0200
commitfb1bfc762c89cd8c5bd745a82998c1662a1bf196 (patch)
tree0ece4f99d458f47f1408c78f79b85345036d3671 /examples3d/debug_prismatic3.rs
parentc630635e57624385123b4a0fb658018bc6fdba91 (diff)
parent0640f5e660aef579a9e6b134b7066e9bcae32b8b (diff)
downloadrapier-fb1bfc762c89cd8c5bd745a82998c1662a1bf196.tar.gz
rapier-fb1bfc762c89cd8c5bd745a82998c1662a1bf196.tar.bz2
rapier-fb1bfc762c89cd8c5bd745a82998c1662a1bf196.zip
Merge pull request #334 from dimforge/fixes
Some CCD and debug-render improvements
Diffstat (limited to 'examples3d/debug_prismatic3.rs')
-rw-r--r--examples3d/debug_prismatic3.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples3d/debug_prismatic3.rs b/examples3d/debug_prismatic3.rs
index 815f4e5..776c50c 100644
--- a/examples3d/debug_prismatic3.rs
+++ b/examples3d/debug_prismatic3.rs
@@ -36,7 +36,7 @@ fn prismatic_repro(
let prismatic = PrismaticJointBuilder::new(Vector::y_axis())
.local_anchor1(point![pos.x, pos.y, pos.z])
.motor_position(0.0, stiffness, damping);
- impulse_joints.insert(box_rb, wheel_rb, prismatic);
+ impulse_joints.insert(box_rb, wheel_rb, prismatic, true);
}
// put a small box under one of the wheels