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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Scenes/Crystal.gd" type="Script" id=1]
[ext_resource path="res://Assets/Environment/crystal.gltf" type="PackedScene" id=2]
[sub_resource type="PrismMesh" id=3]
size = Vector3( 1, 1, 1 )
[sub_resource type="SpatialMaterial" id=2]
resource_local_to_scene = true
albedo_color = Color( 0.819608, 0.858824, 0.921569, 1 )
[sub_resource type="Animation" id=4]
resource_name = "Activate"
length = 0.5
tracks/0/type = "value"
tracks/0/path = NodePath("crystal:translation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.5 ),
"transitions": PoolRealArray( 0.594604, 0.392292 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ), Vector3( 0, 0.64478, 0 ) ]
}
[sub_resource type="Animation" id=5]
resource_name = "Active"
length = 4.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("crystal:translation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1, 2, 3 ),
"transitions": PoolRealArray( -2, -2, -2, -2 ),
"update": 0,
"values": [ Vector3( 0, 0.64478, 0 ), Vector3( 0, 0.4, 0 ), Vector3( 0, 0.64478, 0 ), Vector3( 0, 0.4, 0 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("crystal:rotation_degrees")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 4 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ), Vector3( 0, 360, 0 ) ]
}
[sub_resource type="Animation" id=6]
length = 0.001
tracks/0/type = "value"
tracks/0/path = NodePath("crystal:translation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("crystal:rotation_degrees")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ Vector3( 0, 0, 0 ) ]
}
[node name="Crystal" type="Spatial"]
script = ExtResource( 1 )
actionable = true
active_color = Color( 0.564706, 0.294118, 1, 1 )
[node name="Mesh" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0 )
visible = false
mesh = SubResource( 3 )
material/0 = SubResource( 2 )
[node name="crystal" parent="." instance=ExtResource( 2 )]
transform = Transform( 0.374, 0, 0, 0, 0.314, 0, 0, 0, 0.25, 0, 0, 0 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/Activate = SubResource( 4 )
anims/Active = SubResource( 5 )
anims/RESET = SubResource( 6 )
|