jueves, 6 de junio de 2024

BORRA UNA CAMARA AL LOS 3 SEGUNDOS CON GODOT 4.2;

extends Camera3D


var tiempo_transcurrido = 0.0 # Variable para almacenar el tiempo transcurrido


func _process(delta):


tiempo_transcurrido += delta


if tiempo_transcurrido >= 16.0:


queue_free() # Elimina el nodo de la escena