diff options
| author | Jan Nils Ferner <contact@jnferner.com> | 2023-01-28 00:56:01 +0100 |
|---|---|---|
| committer | Jan Nils Ferner <contact@jnferner.com> | 2023-01-28 00:56:01 +0100 |
| commit | 456c62e2ff28c16656febe4f5d388a879d709b6a (patch) | |
| tree | 5d66be37fe8407ed2fbbccbf453279ba4d978af0 | |
| parent | f1c8fdc1ecaab17e9d018ef5957736f89e5a0991 (diff) | |
| download | rapier-456c62e2ff28c16656febe4f5d388a879d709b6a.tar.gz rapier-456c62e2ff28c16656febe4f5d388a879d709b6a.tar.bz2 rapier-456c62e2ff28c16656febe4f5d388a879d709b6a.zip | |
Try out regular snapping again
| -rw-r--r-- | src/control/character_controller.rs | 4 |
1 files 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 |
