started work on doors and switches

This commit is contained in:
derek
2024-10-09 15:17:13 -05:00
parent d1090e4a6b
commit 3356454d78
4 changed files with 91 additions and 6 deletions

View File

@@ -166,7 +166,6 @@ func _physics_process(delta):
else:
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)
elif is_climbing:
gravity = 0.0
if direction:

12
scripts/switch_basic.gd Normal file
View File

@@ -0,0 +1,12 @@
extends Node
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass