Moved player input

This commit is contained in:
2025-07-01 15:50:08 -05:00
parent 3e95481282
commit 58126341ba
14 changed files with 138 additions and 12 deletions

View File

@@ -8,13 +8,10 @@ func canInteract() -> bool:
return false
return true
func _process(delta: float) -> void:
func interact() -> void:
if !canInteract():
return
if !Input.is_action_just_pressed("interact"):
return
var overlapping = interactableArea.get_overlapping_areas()
var interactable: InteractableArea = null