Skip to content

Commit

Permalink
character controller: Fix some cases of grounded not being detected (#…
Browse files Browse the repository at this point in the history
…711)

character offset exxageration to 1.2
  • Loading branch information
Vrixyz authored Aug 9, 2024
1 parent 510686a commit 5542bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/control/character_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 5542bc5

Please sign in to comment.