-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeat.tscn
51 lines (45 loc) · 1.79 KB
/
meat.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[gd_scene load_steps=6 format=3 uid="uid://q3j2u7o87yut"]
[ext_resource type="ArrayMesh" uid="uid://c21ip7gmj08cy" path="res://models/meat-raw.obj" id="1_hkent"]
[ext_resource type="Script" path="res://Consumable.gd" id="2_dlfqo"]
[sub_resource type="Animation" id="Animation_732l2"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector3(0.684, 0.13, -0.581)]
}
[sub_resource type="Animation" id="Animation_k7qbk"]
resource_name = "eat_meat"
length = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 0,
"values": [Vector3(0.684, 0.3, -0.581), Vector3(0.684, 0.13, -0.581), Vector3(0.684, 0.3, -0.581), Vector3(0.684, 0.13, -0.581), Vector3(0.684, 0.3, -0.581), Vector3(0.684, 0.13, -0.581), Vector3(0.684, 0.3, -0.581), Vector3(0.684, 0.13, -0.581), Vector3(0.684, 0.3, -0.581), Vector3(0.684, 0.13, -0.581), Vector3(0.684, 0.3, -0.581)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_a7tcp"]
_data = {
"RESET": SubResource("Animation_732l2"),
"eat_meat": SubResource("Animation_k7qbk")
}
[node name="Meat" type="MeshInstance3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.684, 0.13, -0.581)
mesh = ExtResource("1_hkent")
script = ExtResource("2_dlfqo")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_a7tcp")
}