53 lines
1.5 KiB
Plaintext
53 lines
1.5 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://ci5254r7er0uc"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dbnc0jij3obmp" path="res://player/cookie/Cookie.glb" id="1_nk7nc"]
|
|
|
|
[sub_resource type="Animation" id="Animation_nsu0p"]
|
|
resource_name = "idle"
|
|
length = 3.0
|
|
loop_mode = 1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Cookie:rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 3),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Vector3(0, 0, -0.785398), Vector3(0, 6.28319, -0.785398)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_a8ig3"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Cookie:rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Vector3(0, 0, -0.785398)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_2flrl"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_a8ig3"),
|
|
&"idle": SubResource("Animation_nsu0p")
|
|
}
|
|
|
|
[node name="cookie_model" type="Node3D"]
|
|
|
|
[node name="Cookie" parent="." instance=ExtResource("1_nk7nc")]
|
|
transform = Transform3D(0.0212132, 0.0212132, 0, -0.0212132, 0.0212132, 0, 0, 0, 0.03, 0, 0.6, 0)
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_2flrl")
|
|
}
|
|
autoplay = "idle"
|