started adding interaction system

This commit is contained in:
2024-01-17 12:24:30 +01:00
parent ee3852fec0
commit 813545dfc1
8 changed files with 166 additions and 16 deletions

View File

@@ -0,0 +1,6 @@
extends StaticBody3D
@onready var animation_player: AnimationPlayer = $AnimationPlayer
func _on_interaction_area_interacted():
animation_player.play("press")