Godot interaction system init

This commit is contained in:
2026-08-17 20:06:51 +03:00
commit a86839c8cd
53 changed files with 2134 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
extends Node3D
class_name Interactable
static func find(node: Node) -> Interactable:
while node:
if node is Interactable:
return node
node = node.get_parent()
return null
func beginInteract(player, hitPosition: Vector3):
pass
func updateInteract(player):
pass
func endInteract(player):
pass