before planets

This commit is contained in:
Crizomb 2025-08-03 05:57:42 +02:00
parent bb6404e918
commit e09f05b566
57 changed files with 1203 additions and 90 deletions

View file

@ -1,6 +1,7 @@
extends Area3D
class_name CheckPoint
@export var check_point_id : int = 0
@onready var check_point_manager: Node = $"../../CheckPointManager"
@ -8,7 +9,7 @@ func _on_body_entered(body: Node3D) -> void:
if body is not Car:
return
CheckPointManager.checkPointEnter(check_point_id)
check_point_manager.checkPointEnter(check_point_id)