aboutsummaryrefslogtreecommitdiff
path: root/src/control/character_controller.rs
diff options
context:
space:
mode:
authorJan Nils Ferner <contact@jnferner.com>2023-01-26 23:10:15 +0100
committerJan Nils Ferner <contact@jnferner.com>2023-01-26 23:10:15 +0100
commit485e1d91692614f61957ea46b2e677f2e4950d27 (patch)
tree6b306edbf4405d4756a3a0cdada6d8a88e13eb03 /src/control/character_controller.rs
parentc3b0bde6b229304949255a33ceda838983570f72 (diff)
downloadrapier-485e1d91692614f61957ea46b2e677f2e4950d27.tar.gz
rapier-485e1d91692614f61957ea46b2e677f2e4950d27.tar.bz2
rapier-485e1d91692614f61957ea46b2e677f2e4950d27.zip
Play around wit grounded expectation
Diffstat (limited to 'src/control/character_controller.rs')
-rw-r--r--src/control/character_controller.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/character_controller.rs b/src/control/character_controller.rs
index 6c2d89f..5b31acc 100644
--- a/src/control/character_controller.rs
+++ b/src/control/character_controller.rs
@@ -365,7 +365,7 @@ impl KinematicCharacterController {
mut kinematic_friction_translation: Option<&mut Vector<Real>>,
mut translation_remaining: Option<&mut Vector<Real>>,
) -> bool {
- let prediction = self.offset.eval(dims.y) * 1.1;
+ let prediction = self.offset.eval(dims.y);
// TODO: allow custom dispatchers.
let dispatcher = DefaultQueryDispatcher;