7 lines
159 B
GDScript
7 lines
159 B
GDScript
extends StaticBody3D
|
|
|
|
|
|
func _on_healthcomponent_start_dying() -> void:
|
|
get_tree().create_timer(3).timeout.connect(queue_free)
|
|
$CollisionShape3D.queue_free()
|