mtd/Scripts/killbox.gd

8 lines
163 B
GDScript3
Raw Normal View History

2024-02-22 06:22:22 +11:00
class_name KillBox extends Area3D
@export var level: Level
func _on_body_entered(body: Node3D) -> void:
body.position = level.player_spawns[0].global_position