8 lines
197 B
GDScript
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)
|