diff options
| author | Jan Nils Ferner <contact@jnferner.com> | 2023-01-27 23:41:39 +0100 |
|---|---|---|
| committer | Jan Nils Ferner <contact@jnferner.com> | 2023-01-27 23:41:39 +0100 |
| commit | e094bf8f0d9bcad4e0385a578bf35c475ce4e653 (patch) | |
| tree | ccafd46a480d7171ca64786de6821abc371531ad | |
| parent | 8fa9f9cb1aac596c0f37f62013cc41ed0e13f773 (diff) | |
| download | rapier-e094bf8f0d9bcad4e0385a578bf35c475ce4e653.tar.gz rapier-e094bf8f0d9bcad4e0385a578bf35c475ce4e653.tar.bz2 rapier-e094bf8f0d9bcad4e0385a578bf35c475ce4e653.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 8db603b..a1ea64b 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) * 2. } fn detect_grounded_status_and_apply_friction( |
