From 9d5cb3d120c9e91ec37d09b782f5cda8c069c667 Mon Sep 17 00:00:00 2001 From: Thierry Berger Date: Mon, 5 Aug 2024 22:40:03 +0200 Subject: [PATCH] character offset exxageration to 1.2 ; number is out of my hat tested in windows and linux though, + character controller example no longer glimpses red, + still passes tests --- src/control/character_controller.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/control/character_controller.rs b/src/control/character_controller.rs index 230b1eb18..e2b48004b 100644 --- a/src/control/character_controller.rs +++ b/src/control/character_controller.rs @@ -397,7 +397,7 @@ impl KinematicCharacterController { } fn predict_ground(&self, up_extends: Real) -> Real { - self.offset.eval(up_extends) * 1.1 + self.offset.eval(up_extends) * 1.2 } fn detect_grounded_status_and_apply_friction(