Skip to content

Commit 5542bc5

Browse files
character controller: Fix some cases of grounded not being detected (#711)
character offset exxageration to 1.2
1 parent 510686a commit 5542bc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/control/character_controller.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ impl KinematicCharacterController {
397397
}
398398

399399
fn predict_ground(&self, up_extends: Real) -> Real {
400-
self.offset.eval(up_extends) * 1.1
400+
self.offset.eval(up_extends) * 1.2
401401
}
402402

403403
fn detect_grounded_status_and_apply_friction(

0 commit comments

Comments
 (0)