Remove print statement in Barrel.gd

Removed debug print statement for floor normal.
This commit is contained in:
SkyanUltra 2025-12-03 06:37:39 -05:00 committed by GitHub
parent f67f35c301
commit 5e93233965
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,7 +13,6 @@ func handle_movement(delta: float) -> void:
if is_on_floor() and get_floor_angle() != 0:
var floor_normal = get_floor_normal()
floor_normal = sign(floor_normal[0]) if abs(floor_normal[0]) < 0.5 else 1.5 * sign(floor_normal[0])
print(floor_normal)
if MOVE_SPEED <= 0:
direction = sign(floor_normal)
MOVE_SPEED = clamp(MOVE_SPEED + (2 * (direction * floor_normal)) * delta * 60.0, 0, MAX_MOVE_SPEED)