From a05622cfe995cb681f01bc22956addf99c208cc6 Mon Sep 17 00:00:00 2001 From: Sébastien Crozet Date: Mon, 10 Jul 2023 09:14:16 +0200 Subject: fix: avoid perpetual movement when the target ang motor position is overshot --- examples3d/all_examples3.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples3d/all_examples3.rs') diff --git a/examples3d/all_examples3.rs b/examples3d/all_examples3.rs index e51e185..ad4d226 100644 --- a/examples3d/all_examples3.rs +++ b/examples3d/all_examples3.rs @@ -35,6 +35,7 @@ mod joints3; // mod joints3; mod character_controller3; mod debug_internal_edges3; +mod joint_motor_position3; mod keva3; mod locked_rotations3; mod newton_cradle3; @@ -97,6 +98,7 @@ pub fn main() { ("Domino", domino3::init_world), ("Heightfield", heightfield3::init_world), ("Impulse Joints", joints3::init_world_with_joints), + ("Joint Motor Position", joint_motor_position3::init_world), ("Locked rotations", locked_rotations3::init_world), ("One-way platforms", one_way_platforms3::init_world), ("Platform", platform3::init_world), -- cgit