From 1e0f76b02c3766f2f1b5bd6b7362c0c993ffee67 Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Mon, 30 Nov 2020 15:41:32 +0100 Subject: Add a 2D demo for locking rotation. --- examples3d/locked_rotation3.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'examples3d') diff --git a/examples3d/locked_rotation3.rs b/examples3d/locked_rotation3.rs index b44b4d5..e8aee41 100644 --- a/examples3d/locked_rotation3.rs +++ b/examples3d/locked_rotation3.rs @@ -40,9 +40,7 @@ pub fn init_world(testbed: &mut Testbed) { colliders.insert(collider, handle, &mut bodies); /* - * A capsule that cannot rotate. - * We initialize it in a tilted position to demonstrate the - * fact that is cannot rotate. + * A tilted capsule that cannot rotate. */ let rigid_body = RigidBodyBuilder::new_dynamic() .translation(0.0, 5.0, 0.0) -- cgit