diff --git a/src/player.rs b/src/player.rs index 476e837..50ad00b 100644 --- a/src/player.rs +++ b/src/player.rs @@ -188,6 +188,8 @@ fn apply_controls( controller.basis(TnuaBuiltinWalk { // The `desired_velocity` determines how the character will move. desired_velocity: direction.normalize_or_zero() * 10.0, + spring_strengh: 1000., + spring_dampening: 0.5, // The `float_height` must be greater (even if by little) from the distance between the // character's center and the lowest point of its collider. float_height: 3.0,