SpielBackupAlt/Assets/Fridge_out/Fridge.tscn

59 lines
3.1 KiB
Plaintext
Raw Permalink Normal View History

2024-12-26 14:54:06 +00:00
[gd_scene load_steps=9 format=2]
[ext_resource path="res://Assets/Fridge_out/Fridge.gltf" type="PackedScene" id=1]
[ext_resource path="res://addons/RadMatt.3DFPP/Test_Objects/door/Door.gd" type="Script" id=2]
[ext_resource path="res://entities/HidingPlace.tscn" type="PackedScene" id=3]
[ext_resource path="res://entities/Interaction.tscn" type="PackedScene" id=4]
[sub_resource type="BoxShape" id=1]
extents = Vector3( 0.259897, 0.798838, 0.0383787 )
[sub_resource type="Animation" id=3]
resource_name = "open"
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.296745, 0.825782, 0.252383, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0.296745, 0.825782, 0.252383, 0, 0.707107, 0, 0.707107, 1, 1, 1 )
[sub_resource type="BoxShape" id=2]
extents = Vector3( 0.321589, 0.786473, 0.267146 )
[sub_resource type="ConvexPolygonShape" id=4]
points = PoolVector3Array( 1, 1, 4, 2, 2, 2, 4, 3, 2, 3, 4, 1 )
[node name="Fridge" instance=ExtResource( 1 )]
[node name="Fridge_Doors" parent="RootNode/Fridge" index="0"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.296745, 0.825782, 0.252383 )
[node name="Door" type="StaticBody" parent="RootNode/Fridge/Fridge_Doors" index="0"]
script = ExtResource( 2 )
[node name="CollisionShape" type="CollisionShape" parent="RootNode/Fridge/Fridge_Doors/Door" index="0"]
transform = Transform( 1, -3.34075e-22, 0, -3.34075e-22, 1, 0, 0, 0, 1, -0.306147, 0.00461644, 0.0394181 )
shape = SubResource( 1 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="RootNode/Fridge/Fridge_Doors/Door" index="1"]
anims/open = SubResource( 3 )
[node name="DoorSound" parent="RootNode/Fridge/Fridge_Doors/Door" index="2" instance=ExtResource( 4 )]
[node name="StaticBody" type="StaticBody" parent="RootNode/Fridge" index="1"]
[node name="HidingPlace" parent="RootNode/Fridge/StaticBody" index="0" instance=ExtResource( 3 )]
transform = Transform( -1, 0, -8.74228e-08, 1.66406e-08, 0.981717, -0.190346, 8.58244e-08, -0.190346, -0.981717, -0.0530047, 0.739957, -0.0529413 )
[node name="CollisionShape" type="CollisionShape" parent="RootNode/Fridge/StaticBody/HidingPlace" index="0"]
transform = Transform( -1, 1.66406e-08, 8.58244e-08, 1.54796e-15, 0.981717, -0.190346, -8.74228e-08, -0.190346, -0.981717, -0.0530047, 0.10016, -0.00552502 )
shape = SubResource( 2 )
[node name="CollisionShape" type="CollisionShape" parent="RootNode/Fridge/StaticBody" index="1"]
transform = Transform( -0.998359, -0.0572677, 2.50325e-09, 0.0572677, -0.998359, 8.7351e-08, -2.50325e-09, 8.7351e-08, 1, 9.25866e-10, 0.815694, -2.98023e-08 )
shape = SubResource( 4 )
[connection signal="animation_finished" from="RootNode/Fridge/Fridge_Doors/Door/AnimationPlayer" to="RootNode/Fridge/Fridge_Doors/Door" method="_on_AnimationPlayer_animation_finished"]
[connection signal="animation_started" from="RootNode/Fridge/Fridge_Doors/Door/AnimationPlayer" to="RootNode/Fridge/Fridge_Doors/Door" method="_on_AnimationPlayer_animation_started"]