diff options
| author | Jan Nils Ferner <contact@jnferner.com> | 2023-01-26 23:10:15 +0100 |
|---|---|---|
| committer | Jan Nils Ferner <contact@jnferner.com> | 2023-01-26 23:10:15 +0100 |
| commit | 485e1d91692614f61957ea46b2e677f2e4950d27 (patch) | |
| tree | 6b306edbf4405d4756a3a0cdada6d8a88e13eb03 /src | |
| parent | c3b0bde6b229304949255a33ceda838983570f72 (diff) | |
| download | rapier-485e1d91692614f61957ea46b2e677f2e4950d27.tar.gz rapier-485e1d91692614f61957ea46b2e677f2e4950d27.tar.bz2 rapier-485e1d91692614f61957ea46b2e677f2e4950d27.zip | |
Play around wit grounded expectation
Diffstat (limited to 'src')
| -rw-r--r-- | src/control/character_controller.rs | 2 |
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; |
