diff --git a/Characters/player.gd b/Characters/player.gd index 7084a70..14afe0e 100755 --- a/Characters/player.gd +++ b/Characters/player.gd @@ -37,7 +37,7 @@ const HOP_NO_CEILING_HEIGHT = 16.0 # Floor hop with nothing in reach, so you can const HOP_OVERSHOOT = 2.0 # Aim slightly past the surface so we arrive with some speed and stick. const ROTATE_TO_SURFACE_SPEED = 25.0 -const MIN_LAND_SPEED = 60.0 # Slower landings don't splat. +const MIN_LAND_SPEED_FOR_SPLAT = 60.0 const LAND_PITCH_MIN = 0.87 const LAND_PITCH_MAX = 1.15 @@ -153,7 +153,7 @@ func _physics_process(delta: float) -> void: var landedOnSomething := wasInAir and normal != Vector2.ZERO if landedOnSomething: var impactSpeed := velocityBeforeMove.dot(-normal) - if impactSpeed >= MIN_LAND_SPEED: + if impactSpeed >= MIN_LAND_SPEED_FOR_SPLAT: _splat(normal) _update_sprite_rotation(delta)