5 lines
91 B
GDScript
5 lines
91 B
GDScript
extends Area3D
|
|
|
|
func _on_body_entered(body: Node3D):
|
|
if body is Player:
|
|
body.health = 0
|