[gd_scene load_steps=5 format=3 uid="uid://bigr0lnen1xdh"]

[sub_resource type="GDScript" id="GDScript_5hy5u"]
script/source = "extends Node3D


# Called when the node enters the scene tree for the first time.
func _ready():
	await get_tree().create_timer(1).timeout
	$AnimationPlayer.advance(10)



# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
	pass


func _on_animation_player_animation_finished(anim_name):
	print(\"yay\")
"

[sub_resource type="Animation" id="Animation_kdstq"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Camera3D:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(0, -0.058, 0.77)]
}

[sub_resource type="Animation" id="Animation_wjx7h"]
resource_name = "test"
length = 5.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Camera3D:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector3(0, -0.058, 0.77), Vector3(0, -0.058, 10.97)]
}

[sub_resource type="AnimationLibrary" id="AnimationLibrary_l6qbr"]
_data = {
"RESET": SubResource("Animation_kdstq"),
"test": SubResource("Animation_wjx7h")
}

[node name="Node3D" type="Node3D"]
script = SubResource("GDScript_5hy5u")

[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.987688, -0.156434, 0, 0.156434, 0.987688, 0, -0.058, 0.77)
fov = 18.0

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_l6qbr")
}
autoplay = "test"

[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_animation_player_animation_finished"]
