diff options
| author | Jan Nils Ferner <contact@jnferner.com> | 2023-01-27 17:08:12 +0100 |
|---|---|---|
| committer | Jan Nils Ferner <contact@jnferner.com> | 2023-01-27 17:08:12 +0100 |
| commit | 22e92711d97e5cb4bc855ee72661e5413aa9727d (patch) | |
| tree | 8d14a999be615bbb07c34df55e90d2c1bc5c526b | |
| parent | fa9ab6c2bc80643e461b0ad5d0b9614a98831c87 (diff) | |
| download | rapier-22e92711d97e5cb4bc855ee72661e5413aa9727d.tar.gz rapier-22e92711d97e5cb4bc855ee72661e5413aa9727d.tar.bz2 rapier-22e92711d97e5cb4bc855ee72661e5413aa9727d.zip | |
Tweak prediction
| -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 fa352ba..efa65b0 100644 --- a/src/control/character_controller.rs +++ b/src/control/character_controller.rs @@ -356,7 +356,7 @@ impl KinematicCharacterController { } fn predict_ground(&self, up_extends: Real) -> Real { - self.offset.eval(up_extends) * 1.4 + self.offset.eval(up_extends) * 1.1 } fn detect_grounded_status_and_apply_friction( |
