extends CPUParticles3D
var tiempo_transcurrido = 0.0
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
rotate_y(0.8)
tiempo_transcurrido += delta
if tiempo_transcurrido >= 11.0:
queue_free() # Elimina el nodo de la escena
No hay comentarios:
Publicar un comentario