aboutsummaryrefslogtreecommitdiff
path: root/src/control/character_controller.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/control/character_controller.rs')
-rw-r--r--src/control/character_controller.rs4
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