Photo_Game/Script/base.gd
2025-09-16 17:23:28 +02:00

8 lines
197 B
GDScript

extends Node
var teleport_target_location = Vector2(100,100)
# PER LA MORTE
func _on_area_3d_body_entered(body: Node3D) -> void:
print("death")
$Player.global_position = Vector3(0.0, 10.0,0.0)