diff options
| author | Jan Nils Ferner <contact@jnferner.com> | 2023-01-27 23:44:09 +0100 |
|---|---|---|
| committer | Jan Nils Ferner <contact@jnferner.com> | 2023-01-27 23:44:09 +0100 |
| commit | e7cb9bea2fd7cf5eadaefcf9d476b25fb130bb57 (patch) | |
| tree | b2cd15691cfebebce5757031c568791e08a2b0a5 /src/control/character_controller.rs | |
| parent | e094bf8f0d9bcad4e0385a578bf35c475ce4e653 (diff) | |
| download | rapier-e7cb9bea2fd7cf5eadaefcf9d476b25fb130bb57.tar.gz rapier-e7cb9bea2fd7cf5eadaefcf9d476b25fb130bb57.tar.bz2 rapier-e7cb9bea2fd7cf5eadaefcf9d476b25fb130bb57.zip | |
Tweak prediction
Diffstat (limited to 'src/control/character_controller.rs')
| -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 a1ea64b..ad192fb 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) * 2. + self.offset.eval(up_extends) * 3. } fn detect_grounded_status_and_apply_friction( |
