extends Node3D
# Time elapsed since the node entered the scene
var time_elapsed = 0.0
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
$AnimationPlayer.play("Default simplified|ATACA")
func _process(delta: float) -> void:
rotate_y(0.02)
rotate_x(0.0018)
rotate_z(0.0018)
# Update elapsed time
time_elapsed += delta
# Queue free the node after 2 seconds
if time_elapsed >= 2.50:
queue_free()