feat: don’t enable character controller autostepping by default

This commit is contained in:
Sébastien Crozet
2024-05-04 17:49:08 +02:00
committed by Sébastien Crozet
parent 3222d67871
commit dbefeb0418

View File

@@ -159,7 +159,7 @@ impl Default for KinematicCharacterController {
up: Vector::y_axis(),
offset: CharacterLength::Relative(0.01),
slide: true,
autostep: Some(CharacterAutostep::default()),
autostep: None,
max_slope_climb_angle: Real::frac_pi_4(),
min_slope_slide_angle: Real::frac_pi_4(),
snap_to_ground: Some(CharacterLength::Relative(0.2)),