aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Nils Ferner <contact@jnferner.com>2023-01-27 00:22:30 +0100
committerJan Nils Ferner <contact@jnferner.com>2023-01-27 00:22:30 +0100
commit942cf76150c410048c13b29f1ca084896cf57f0f (patch)
treeb0a6fd834be81c8e0d295b51b5c1f0433bfeceb2 /src
parent9337093d838f6a50ccf5cf99e75ebce9e52c3619 (diff)
downloadrapier-942cf76150c410048c13b29f1ca084896cf57f0f.tar.gz
rapier-942cf76150c410048c13b29f1ca084896cf57f0f.tar.bz2
rapier-942cf76150c410048c13b29f1ca084896cf57f0f.zip
Update prediction
Diffstat (limited to 'src')
-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 5ee58df..39fa9b0 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.3
+ self.offset.eval(up_extends) * 1.4
}
fn detect_grounded_status_and_apply_friction(