From 456c62e2ff28c16656febe4f5d388a879d709b6a Mon Sep 17 00:00:00 2001 From: Jan Nils Ferner Date: Sat, 28 Jan 2023 00:56:01 +0100 Subject: Try out regular snapping again --- src/control/character_controller.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/control/character_controller.rs b/src/control/character_controller.rs index 34b02d0..a0771b6 100644 --- a/src/control/character_controller.rs +++ b/src/control/character_controller.rs @@ -299,7 +299,7 @@ impl KinematicCharacterController { } // If needed, and if we are not already grounded, snap to the ground. - if grounded_at_starting_pos { + //if grounded_at_starting_pos { self.snap_to_ground( bodies, colliders, @@ -310,7 +310,7 @@ impl KinematicCharacterController { filter, &mut result, ); - } + //} // Return the result. result -- cgit