SpielBackupAlt/Assets/Nightstand_out/Nightstand.tscn

107 lines
5.0 KiB
Plaintext
Executable File

[gd_scene load_steps=11 format=2]
[ext_resource path="res://Assets/Nightstand_out/Nightstand.gltf" type="PackedScene" id=1]
[ext_resource path="res://scripts/Drawer.gd" type="Script" id=2]
[ext_resource path="res://entities/HidingPlace.tscn" type="PackedScene" id=3]
[sub_resource type="BoxShape" id=2]
extents = Vector3( 0.347357, 0.0812464, 0.226672 )
[sub_resource type="Animation" id=3]
resource_name = "Slide"
tracks/0/type = "transform"
tracks/0/path = NodePath(".")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = PoolRealArray( 0, 1, 0.000712891, 0.603437, 0.035482, 3.30872e-24, 0, 0, 1, 1, 1, 1, 1, 1, 0.001, 0.603, 0.3, 3.30872e-24, 0, 0, 1, 1, 1, 1 )
[sub_resource type="BoxShape" id=4]
extents = Vector3( 0.165451, 0.165441, 0.0190178 )
[sub_resource type="Animation" id=5]
resource_name = "Slide"
tracks/0/type = "transform"
tracks/0/path = NodePath("..")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = PoolRealArray( 0, 1, 0.293108, 0.344034, 0.195835, 3.30872e-24, 0, 0, 1, 1, 1, 1, 1, 1, 0.293108, 0.344034, 0.195835, 1.65436e-24, 0.866025, -2.86544e-24, 0.5, 1, 1, 1 )
[sub_resource type="Animation" id=6]
resource_name = "Slide"
tracks/0/type = "transform"
tracks/0/path = NodePath("..")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = PoolRealArray( 0, 1, -0.292651, 0.344034, 0.195178, 3.30872e-24, 0, 0, 1, 1, 1, 1, 1, 1, -0.292651, 0.344034, 0.195178, 0, -0.866, 0, 0.5, 1, 1, 1 )
[sub_resource type="BoxShape" id=1]
extents = Vector3( 1.10001, 1, 0.245132 )
[sub_resource type="BoxShape" id=7]
extents = Vector3( 1.06387, 0.470437, 0.185935 )
[node name="Nightstand" instance=ExtResource( 1 )]
[node name="Nightstand" parent="RootNode" index="0"]
transform = Transform( 3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0 )
[node name="Interaction" type="StaticBody" parent="RootNode/Nightstand/Nightstand_drawer" index="0"]
script = ExtResource( 2 )
[node name="CollisionShape" type="CollisionShape" parent="RootNode/Nightstand/Nightstand_drawer/Interaction" index="0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.0132178 )
shape = SubResource( 2 )
[node name="anim" type="AnimationPlayer" parent="RootNode/Nightstand/Nightstand_drawer/Interaction" index="1"]
root_node = NodePath("../..")
anims/Slide = SubResource( 3 )
[node name="Nightstand_door_B" parent="RootNode/Nightstand" index="1"]
transform = Transform( 1, 0, 0, 0, 1, -6.61744e-24, 0, 6.61744e-24, 1, 0.293108, 0.344034, 0.195835 )
[node name="Interaction" type="StaticBody" parent="RootNode/Nightstand/Nightstand_door_B" index="0"]
script = ExtResource( 2 )
[node name="CollisionShape" type="CollisionShape" parent="RootNode/Nightstand/Nightstand_door_B/Interaction" index="0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.110893, 0, 0.00441028 )
shape = SubResource( 4 )
[node name="anim" type="AnimationPlayer" parent="RootNode/Nightstand/Nightstand_door_B/Interaction" index="1"]
anims/Slide = SubResource( 5 )
[node name="Nightstand_door_A" parent="RootNode/Nightstand" index="2"]
transform = Transform( 1, 0, 0, 0, 1, -6.61744e-24, 0, 6.61744e-24, 1, -0.292651, 0.344034, 0.195178 )
[node name="Interaction" type="StaticBody" parent="RootNode/Nightstand/Nightstand_door_A" index="0"]
script = ExtResource( 2 )
[node name="CollisionShape" type="CollisionShape" parent="RootNode/Nightstand/Nightstand_door_A/Interaction" index="0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.111, 0, 0.004 )
shape = SubResource( 4 )
[node name="anim" type="AnimationPlayer" parent="RootNode/Nightstand/Nightstand_door_A/Interaction" index="1"]
anims/Slide = SubResource( 6 )
[node name="Collider" type="StaticBody" parent="." index="1"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -0.317404 )
[node name="CollisionShape" type="CollisionShape" parent="Collider" index="0"]
shape = SubResource( 1 )
[node name="HidingPlace" parent="." index="2" instance=ExtResource( 3 )]
transform = Transform( -1, 1.25524e-08, 8.73097e-08, 8.09607e-09, 0.998706, -0.0508539, -8.7835e-08, -0.0508539, -0.998706, 0.0735885, 1.00152, 0 )
[node name="CollisionShape" type="CollisionShape" parent="HidingPlace" index="0"]
transform = Transform( 1, -3.98887e-09, 4.8103e-10, 3.96283e-09, 0.998963, 0.0455373, -6.62176e-10, -0.0455373, 0.998963, 0, 0, 0 )
shape = SubResource( 7 )
[connection signal="animation_finished" from="RootNode/Nightstand/Nightstand_drawer/Interaction/anim" to="RootNode/Nightstand/Nightstand_drawer/Interaction" method="_on_anim_animation_finished"]
[connection signal="animation_finished" from="RootNode/Nightstand/Nightstand_door_B/Interaction/anim" to="RootNode/Nightstand/Nightstand_door_B/Interaction" method="_on_anim_animation_finished"]
[connection signal="animation_finished" from="RootNode/Nightstand/Nightstand_door_A/Interaction/anim" to="RootNode/Nightstand/Nightstand_door_A/Interaction" method="_on_anim_animation_finished"]