5 lines
86 B
GDScript
5 lines
86 B
GDScript
extends Area3D
|
|
|
|
func _on_body_entered(body: Node3D):
|
|
if body is Player:
|
|
body.die()
|