18 lines
379 B
GDScript
18 lines
379 B
GDScript
extends RigidBody3D
|
|
|
|
@onready var collision_shape = $CollisionShape3D
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
pass
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta):
|
|
pass
|
|
|
|
|
|
func _on_timer_timeout():
|
|
collision_shape.disabled = true
|
|
await get_tree().create_timer(1).timeout
|
|
queue_free()
|