Fix missing account for offset
This commit is contained in:
@@ -228,7 +228,7 @@ impl KinematicCharacterController {
|
||||
&(Translation::from(result.translation) * character_pos),
|
||||
&translation_dir,
|
||||
character_shape,
|
||||
translation_dist,
|
||||
translation_dist + offset,
|
||||
false,
|
||||
filter,
|
||||
) {
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user