aboutsummaryrefslogtreecommitdiff
path: root/benchmarks3d/joint_prismatic3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks3d/joint_prismatic3.rs')
-rw-r--r--benchmarks3d/joint_prismatic3.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks3d/joint_prismatic3.rs b/benchmarks3d/joint_prismatic3.rs
index a97dc56..78953e4 100644
--- a/benchmarks3d/joint_prismatic3.rs
+++ b/benchmarks3d/joint_prismatic3.rs
@@ -45,7 +45,7 @@ pub fn init_world(testbed: &mut Testbed) {
let prism = PrismaticJointBuilder::new(axis)
.local_anchor2(point![0.0, 0.0, -shift])
.limits([-2.0, 0.0]);
- impulse_joints.insert(curr_parent, curr_child, prism);
+ impulse_joints.insert(curr_parent, curr_child, prism, true);
curr_parent = curr_child;
}