-
Notifications
You must be signed in to change notification settings - Fork 0
/
cage_door.tscn
54 lines (46 loc) · 1.66 KB
/
cage_door.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
52
53
54
[gd_scene load_steps=6 format=3 uid="uid://bqs243a5cavyi"]
[ext_resource type="Script" path="res://door.gd" id="1_0gi8q"]
[ext_resource type="PackedScene" uid="uid://c4c4p3flh4dmf" path="res://resources/kaykit-dungeon/models/gltf/door_gate.gltf.glb" id="2_wf2wm"]
[sub_resource type="Animation" id="Animation_ud618"]
resource_name = "Open Door"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Pivot/door_gategltf:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector3(0, 0, 0), Vector3(0, 1.5708, 0)]
}
[sub_resource type="Animation" id="Animation_naqe8"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Pivot/door_gategltf: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)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_bhpld"]
_data = {
"Open Door": SubResource("Animation_ud618"),
"RESET": SubResource("Animation_naqe8")
}
[node name="CageDoor" type="Node3D" node_paths=PackedStringArray("animation_player")]
script = ExtResource("1_0gi8q")
animation_player = NodePath("AnimationPlayer")
[node name="Pivot" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 0, 0)
[node name="door_gategltf" parent="Pivot" instance=ExtResource("2_wf2wm")]
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_bhpld")
}