more working with saves, tweaked ladder, made a mug and wet floor sign
This commit is contained in:
@@ -197,7 +197,7 @@ func _physics_process(delta):
|
||||
velocity.x = lerp(velocity.x, direction.x * speed, delta * 6.5) + (direction.x * DASH_SPEED)
|
||||
velocity.z = lerp(velocity.z, direction.z * speed, delta * 6.5) + (direction.z * DASH_SPEED)
|
||||
#ladder movement
|
||||
elif is_climbing:
|
||||
elif is_climbing and !is_on_floor():
|
||||
gravity = 0.0
|
||||
if direction:
|
||||
velocity.y = -direction.z * speed * .75
|
||||
|
||||
Reference in New Issue
Block a user