aboutsummaryrefslogtreecommitdiff
path: root/examples3d/all_examples3.rs
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2020-11-30 15:26:22 +0100
committerCrozet Sébastien <developer@crozet.re>2020-11-30 15:26:22 +0100
commitc3e951f896bf59d074771fe89de5b0b55f94f8ed (patch)
treea2420b8c8231260fc224c48177b89449b521819d /examples3d/all_examples3.rs
parentc9ac149b17622f4267bf9a1fcea9cf80ffbbfd2c (diff)
downloadrapier-c3e951f896bf59d074771fe89de5b0b55f94f8ed.tar.gz
rapier-c3e951f896bf59d074771fe89de5b0b55f94f8ed.tar.bz2
rapier-c3e951f896bf59d074771fe89de5b0b55f94f8ed.zip
Add a simpler to lock the rotation or translation of a dynamic rigid-body.
Diffstat (limited to 'examples3d/all_examples3.rs')
-rw-r--r--examples3d/all_examples3.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples3d/all_examples3.rs b/examples3d/all_examples3.rs
index 82e72e3..875643d 100644
--- a/examples3d/all_examples3.rs
+++ b/examples3d/all_examples3.rs
@@ -26,6 +26,7 @@ mod fountain3;
mod heightfield3;
mod joints3;
mod keva3;
+mod locked_rotation3;
mod platform3;
mod primitives3;
mod restitution3;
@@ -78,6 +79,7 @@ pub fn main() {
("Domino", domino3::init_world),
("Heightfield", heightfield3::init_world),
("Joints", joints3::init_world),
+ ("Locked rotations", locked_rotation3::init_world),
("Platform", platform3::init_world),
("Restitution", restitution3::init_world),
("Stacks", stacks3::init_world),