trop de chose jpp

This commit is contained in:
2025-01-18 10:43:11 +01:00
parent 913a455d33
commit 309496c900
19 changed files with 546 additions and 21 deletions

11
script/check_point.gd Normal file
View File

@@ -0,0 +1,11 @@
extends Node3D
@export var next_check : Node3D = null
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
func _on_area_3d_body_entered(body: Node3D) -> void:
if (body is CharacterBody3D):
body.set("checkpoint", next_check)