This commit is contained in:
Haze Weathers 2025-02-22 19:55:12 -05:00
parent e1b43c8bc5
commit 08712cf22c
11 changed files with 244 additions and 37 deletions

7
objects/goal_post.gd Normal file
View file

@ -0,0 +1,7 @@
class_name GoalPost
extends Node3D
func _on_player_detector_body_entered(body: Node3D) -> void:
if body is Player:
body.enter_goal(self)