From 63711317b0c567db97ec22fedd02ccf6daed7535 Mon Sep 17 00:00:00 2001 From: jonathan Date: Sun, 1 Feb 2026 16:33:04 +0100 Subject: [PATCH] Rose physics --- scenes/pickupable.gd | 2 +- scenes/room.tscn | 104 +++++++++++++++++++++++++++++++------------ 2 files changed, 77 insertions(+), 29 deletions(-) diff --git a/scenes/pickupable.gd b/scenes/pickupable.gd index 98b5153..c0455ea 100644 --- a/scenes/pickupable.gd +++ b/scenes/pickupable.gd @@ -1,6 +1,6 @@ extends RigidBody3D -@onready var grab_fix_point: Node3D = $"../../Character/Head/GrabFixPoint" +@onready var grab_fix_point: Node3D = $"../Character/Head/GrabFixPoint" var grabbed: bool = false diff --git a/scenes/room.tscn b/scenes/room.tscn index eef0dba..62471ef 100644 --- a/scenes/room.tscn +++ b/scenes/room.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=91 format=4 uid="uid://157h04x0krfu"] +[gd_scene load_steps=95 format=4 uid="uid://157h04x0krfu"] [ext_resource type="PackedScene" uid="uid://bjufextny1icg" path="res://models/UndertakerAssets.glb" id="1_7dqbv"] [ext_resource type="ArrayMesh" uid="uid://c5hhygnuya8m4" path="res://models/ceiling.res" id="1_jn645"] @@ -50,6 +50,7 @@ [ext_resource type="PackedScene" uid="uid://dcvhqqp75xtws" path="res://prefabs/rose.tscn" id="48_1s4n5"] [ext_resource type="Script" uid="uid://bgrc6ktuxyrm6" path="res://scenes/pickupable.gd" id="49_bahpm"] [ext_resource type="PackedScene" uid="uid://cddhjs1rtgotq" path="res://models/RubberDuck.glb" id="50_11at7"] +[ext_resource type="PackedScene" uid="uid://c4cpduyayg7m" path="res://models/Hammer.glb" id="51_gmm1g"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_frp7b"] albedo_color = Color(0, 0, 0, 1) @@ -65,6 +66,9 @@ height = 0.01 [sub_resource type="BoxShape3D" id="BoxShape3D_vfrn5"] size = Vector3(50, 1, 50) +[sub_resource type="ConcavePolygonShape3D" id="ConcavePolygonShape3D_11at7"] +data = PackedVector3Array(0.78, -0.04, -0.39999998, 1.37, -0.04, 0.29999998, 1.37, -0.04, -0.29999998, 0.78, -0.04, -0.39999998, 0.78, -0.04, 0.39999998, 1.37, -0.04, 0.29999998, -0.81, -0.04, -0.29999998, 0.78, -0.04, 0.39999998, 0.78, -0.04, -0.39999998, -0.81, -0.04, -0.29999998, -0.81, -0.04, 0.29999998, 0.78, -0.04, 0.39999998, 0.78, -0.04, 0.39999998, -0.84999996, 0.14999999, 0.34, 0.78, 0.14999999, 0.42999998, 0.78, -0.04, 0.39999998, -0.81, -0.04, 0.29999998, -0.84999996, 0.14999999, 0.34, 1.37, -0.04, -0.29999998, 1.42, 0.14999999, 0.34, 1.42, 0.14999999, -0.34, 1.37, -0.04, -0.29999998, 1.37, -0.04, 0.29999998, 1.42, 0.14999999, 0.34, 0.78, -0.04, -0.39999998, 1.42, 0.14999999, -0.34, 0.78, 0.14999999, -0.42999998, 0.78, -0.04, -0.39999998, 1.37, -0.04, -0.29999998, 1.42, 0.14999999, -0.34, -0.81, -0.04, 0.29999998, -0.84999996, 0.14999999, -0.34, -0.84999996, 0.14999999, 0.34, -0.81, -0.04, 0.29999998, -0.81, -0.04, -0.29999998, -0.84999996, 0.14999999, -0.34, -0.81, -0.04, -0.29999998, 0.78, 0.14999999, -0.42999998, -0.84999996, 0.14999999, -0.34, -0.81, -0.04, -0.29999998, 0.78, -0.04, -0.39999998, 0.78, 0.14999999, -0.42999998, 1.37, -0.04, 0.29999998, 0.78, 0.14999999, 0.42999998, 1.42, 0.14999999, 0.34, 1.37, -0.04, 0.29999998, 0.78, -0.04, 0.39999998, 0.78, 0.14999999, 0.42999998, 1.42, 0.14999999, 0.34, 0.78, 0.26999998, 0.42999998, 1.42, 0.26999998, 0.34, 1.42, 0.14999999, 0.34, 0.78, 0.14999999, 0.42999998, 0.78, 0.26999998, 0.42999998, -0.84999996, 0.14999999, -0.34, 0.78, 0.26999998, -0.42999998, -0.85999995, 0.26999998, -0.35, -0.84999996, 0.14999999, -0.34, 0.78, 0.14999999, -0.42999998, 0.78, 0.26999998, -0.42999998, -0.84999996, 0.14999999, 0.34, -0.85999995, 0.26999998, -0.35, -0.85999995, 0.26999998, 0.35, -0.84999996, 0.14999999, 0.34, -0.84999996, 0.14999999, -0.34, -0.85999995, 0.26999998, -0.35, 0.78, 0.14999999, -0.42999998, 1.42, 0.26999998, -0.34, 0.78, 0.26999998, -0.42999998, 0.78, 0.14999999, -0.42999998, 1.42, 0.14999999, -0.34, 1.42, 0.26999998, -0.34, 1.42, 0.14999999, -0.34, 1.42, 0.26999998, 0.34, 1.42, 0.26999998, -0.34, 1.42, 0.14999999, -0.34, 1.42, 0.14999999, 0.34, 1.42, 0.26999998, 0.34, 0.78, 0.14999999, 0.42999998, -0.85999995, 0.26999998, 0.35, 0.78, 0.26999998, 0.42999998, 0.78, 0.14999999, 0.42999998, -0.84999996, 0.14999999, 0.34, -0.85999995, 0.26999998, 0.35, 0.78, 0, -0.35999998, 1.3399999, 0, 0.26, 0.78, 0, 0.35999998, 0.78, 0, -0.35999998, 1.3399999, 0, -0.26, 1.3399999, 0, 0.26, -0.78, 0, -0.26, 0.78, 0, -0.35999998, 0.78, 0, 0.35999998, -0.78, 0, -0.26, 0.78, 0, 0.35999998, -0.78, 0, 0.26, 0.78, 0, 0.35999998, -0.8109, 0.1558, 0.3028, -0.78, 0, 0.26, 0.78, 0, 0.35999998, 0.7782, 0.15079999, 0.3899, -0.8109, 0.1558, 0.3028, 1.3399999, 0, -0.26, 1.3802999, 0.1538, 0.3058, 1.3399999, 0, 0.26, 1.3399999, 0, -0.26, 1.3802999, 0.1538, -0.3058, 1.3802999, 0.1538, 0.3058, 0.78, 0, -0.35999998, 1.3802999, 0.1538, -0.3058, 1.3399999, 0, -0.26, 0.78, 0, -0.35999998, 0.7782, 0.15079999, -0.3899, 1.3802999, 0.1538, -0.3058, -0.78, 0, 0.26, -0.8109, 0.1558, -0.3028, -0.78, 0, -0.26, -0.78, 0, 0.26, -0.8109, 0.1558, 0.3028, -0.8109, 0.1558, -0.3028, -0.78, 0, -0.26, 0.7782, 0.15079999, -0.3899, 0.78, 0, -0.35999998, -0.78, 0, -0.26, -0.8109, 0.1558, -0.3028, 0.7782, 0.15079999, -0.3899, 1.3399999, 0, 0.26, 0.7782, 0.15079999, 0.3899, 0.78, 0, 0.35999998, 1.3399999, 0, 0.26, 1.3802999, 0.1538, 0.3058, 0.7782, 0.15079999, 0.3899, 1.3802999, 0.1538, 0.3058, 0.7782, 0.27089998, 0.38979998, 0.7782, 0.15079999, 0.3899, 1.3802999, 0.1538, 0.3058, 1.38, 0.26999998, 0.30519998, 0.7782, 0.27089998, 0.38979998, -0.8109, 0.1558, -0.3028, 0.7782, 0.27089998, -0.3899, 0.7782, 0.15079999, -0.3899, -0.8109, 0.1558, -0.3028, -0.8203, 0.2748, -0.3121, 0.7782, 0.27089998, -0.3899, -0.8109, 0.1558, 0.3028, -0.8203, 0.2748, -0.3121, -0.8109, 0.1558, -0.3028, -0.8109, 0.1558, 0.3028, -0.8203, 0.2748, 0.3121, -0.8203, 0.2748, -0.3121, 0.7782, 0.15079999, -0.3899, 1.38, 0.26999998, -0.30519998, 1.3802999, 0.1538, -0.3058, 0.7782, 0.15079999, -0.3899, 0.7782, 0.27089998, -0.3899, 1.38, 0.26999998, -0.30519998, 1.3802999, 0.1538, -0.3058, 1.38, 0.26999998, 0.30519998, 1.3802999, 0.1538, 0.3058, 1.3802999, 0.1538, -0.3058, 1.38, 0.26999998, -0.30519998, 1.38, 0.26999998, 0.30519998, 0.7782, 0.15079999, 0.3899, -0.8203, 0.2748, 0.3121, -0.8109, 0.1558, 0.3028, 0.7782, 0.15079999, 0.3899, 0.7782, 0.27089998, 0.38979998, -0.8203, 0.2748, 0.3121, 0.78, 0.26999998, 0.42999998, 1.38, 0.26999998, 0.30519998, 1.42, 0.26999998, 0.34, 0.78, 0.26999998, 0.42999998, 0.7782, 0.27089998, 0.38979998, 1.38, 0.26999998, 0.30519998, 0.78, 0.26999998, -0.42999998, -0.8203, 0.2748, -0.3121, -0.85999995, 0.26999998, -0.35, 0.78, 0.26999998, -0.42999998, 0.7782, 0.27089998, -0.3899, -0.8203, 0.2748, -0.3121, -0.85999995, 0.26999998, -0.35, -0.8203, 0.2748, 0.3121, -0.85999995, 0.26999998, 0.35, -0.85999995, 0.26999998, -0.35, -0.8203, 0.2748, -0.3121, -0.8203, 0.2748, 0.3121, 1.42, 0.26999998, -0.34, 0.7782, 0.27089998, -0.3899, 0.78, 0.26999998, -0.42999998, 1.42, 0.26999998, -0.34, 1.38, 0.26999998, -0.30519998, 0.7782, 0.27089998, -0.3899, 1.42, 0.26999998, 0.34, 1.38, 0.26999998, -0.30519998, 1.42, 0.26999998, -0.34, 1.42, 0.26999998, 0.34, 1.38, 0.26999998, 0.30519998, 1.38, 0.26999998, -0.30519998, -0.85999995, 0.26999998, 0.35, 0.7782, 0.27089998, 0.38979998, 0.78, 0.26999998, 0.42999998, -0.85999995, 0.26999998, 0.35, -0.8203, 0.2748, 0.3121, 0.7782, 0.27089998, 0.38979998) + [sub_resource type="Animation" id="Animation_2ftkj"] resource_name = "CoffinClose" length = 1.304 @@ -160,7 +164,7 @@ resource_name = "M_Face" cull_mode = 2 albedo_texture = ExtResource("2_ns543") roughness = 0.5 -uv1_offset = Vector3(0.75, 0.25, 0) +uv1_offset = Vector3(0, 0.25, 0) texture_filter = 2 [sub_resource type="ArrayMesh" id="ArrayMesh_mwhaa"] @@ -213,8 +217,14 @@ nodes/Blend2/position = Vector2(100, 160) "nodes/Animation 2/position" = Vector2(-220, 320) node_connections = [&"output", 0, &"Blend2", &"Blend2", 0, &"Animation", &"Blend2", 1, &"Animation 2"] +[sub_resource type="BoxShape3D" id="BoxShape3D_gmm1g"] +size = Vector3(0.41427612, 0.49948883, 0.3550415) + [sub_resource type="BoxShape3D" id="BoxShape3D_bahpm"] -size = Vector3(0.41427612, 0.09663391, 0.3550415) +size = Vector3(0.41427612, 0.45505524, 0.3550415) + +[sub_resource type="BoxShape3D" id="BoxShape3D_rhbk5"] +size = Vector3(1.0362396, 0.45505524, 0.3550415) [sub_resource type="Animation" id="Animation_kk8bn"] resource_name = "CoffinSlideOut" @@ -690,6 +700,7 @@ skeleton = NodePath("") [node name="CoffinUpper" type="MeshInstance3D" parent="CoffinSwitcher/CoffinOpenable/LidAnimationPivit"] transform = Transform3D(1, 0, 0, 0, -1, -8.742278e-08, 0, 8.742278e-08, -1, -0.014046758, 0.5784328, 0) +visible = false mesh = ExtResource("20_2ulci") skeleton = NodePath("../../../../..") @@ -697,6 +708,9 @@ skeleton = NodePath("../../../../..") mesh = ExtResource("19_yggoe") skeleton = NodePath("../../..") +[node name="CollisionShape3D" type="CollisionShape3D" parent="CoffinSwitcher/CoffinOpenable"] +shape = SubResource("ConcavePolygonShape3D_11at7") + [node name="AnimationPlayer" type="AnimationPlayer" parent="CoffinSwitcher/CoffinOpenable"] libraries = { &"": SubResource("AnimationLibrary_0tws2") @@ -741,13 +755,17 @@ script = ExtResource("2_wkj6l") [node name="StaticBody3D" type="StaticBody3D" parent="CoffinSwitcher/CoffinOpenable"] [node name="CollisionShape3D" type="CollisionShape3D" parent="CoffinSwitcher/CoffinOpenable/StaticBody3D"] -transform = Transform3D(0.69569975, -0.71833265, 0, 0.71833265, 0.69569975, 0, 0, 0, 1, 0.9077561, 0.32839406, 0.03842163) -shape = SubResource("BoxShape3D_bahpm") +transform = Transform3D(0.69569975, -0.71833265, 0, 0.71833265, 0.69569975, 0, 0, 0, 1, 1.052448, 0.18826103, 0.03842163) +shape = SubResource("BoxShape3D_gmm1g") [node name="CollisionShape3D2" type="CollisionShape3D" parent="CoffinSwitcher/CoffinOpenable/StaticBody3D"] -transform = Transform3D(-0.7166184, -0.69746536, 0, 0.69746536, -0.7166184, 0, 0, 0, 1, 0.65191096, 0.23985302, 0.03842163) +transform = Transform3D(-0.7166184, -0.69746536, 0, 0.69746536, -0.7166184, 0, 0, 0, 1, 0.5269177, 0.11142737, 0.03842163) shape = SubResource("BoxShape3D_bahpm") +[node name="CollisionShape3D3" type="CollisionShape3D" parent="CoffinSwitcher/CoffinOpenable/StaticBody3D"] +transform = Transform3D(-0.99999785, 0.0020070076, 0, -0.0020070076, -0.99999785, 0, 0, 0, 1, -0.15229422, -0.026386857, 0.03842163) +shape = SubResource("BoxShape3D_rhbk5") + [node name="CoffinSlideOut" type="Node3D" parent="CoffinSwitcher"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.24035808, 0.8164685, 2.485278) visible = false @@ -986,31 +1004,34 @@ bones/17/scale = Vector3(1, 1, 1) mesh = SubResource("ArrayMesh_ps37a") skin = SubResource("Skin_cbukb") -[node name="Basket_01" type="MeshInstance3D" parent="."] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.683367, 0.33331797, 1) +[node name="RigidBody3D" type="RigidBody3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.6829212, 0.34377256, 1.0296301) +freeze_mode = 1 +script = ExtResource("49_bahpm") + +[node name="Basket_01" type="MeshInstance3D" parent="RigidBody3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00044584274, -0.010454595, -0.029630065) mesh = SubResource("ArrayMesh_25djc") skeleton = NodePath("") -[node name="StaticBody3D" type="StaticBody3D" parent="Basket_01"] - -[node name="CollisionShape3D" type="CollisionShape3D" parent="Basket_01/StaticBody3D"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.007080078, -0.17565155, 0.0024414063) +[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0066342354, -0.18610615, -0.027188659) shape = SubResource("BoxShape3D_1s4n5") -[node name="CollisionShape3D2" type="CollisionShape3D" parent="Basket_01/StaticBody3D"] -transform = Transform3D(1, 0, 0, 0, 0.22379455, -0.97463644, 0, 0.97463644, 0.22379455, -0.001953125, -0.029207826, -0.3317328) +[node name="CollisionShape3D2" type="CollisionShape3D" parent="RigidBody3D"] +transform = Transform3D(1, 0, 0, 0, 0.22379455, -0.97463644, 0, 0.97463644, 0.22379455, -0.0023989677, -0.03966242, -0.36136287) shape = SubResource("BoxShape3D_geot1") -[node name="CollisionShape3D3" type="CollisionShape3D" parent="Basket_01/StaticBody3D"] -transform = Transform3D(-1, -8.520542e-08, -1.9564741e-08, 0, 0.22379453, -0.9746364, 8.742277e-08, -0.9746364, -0.22379453, -0.001953125, -0.029207826, 0.33304524) +[node name="CollisionShape3D3" type="CollisionShape3D" parent="RigidBody3D"] +transform = Transform3D(-1, -8.520542e-08, -1.9564741e-08, 0, 0.22379453, -0.9746364, 8.742277e-08, -0.9746364, -0.22379453, -0.0023989677, -0.03966242, 0.30341518) shape = SubResource("BoxShape3D_geot1") -[node name="CollisionShape3D4" type="CollisionShape3D" parent="Basket_01/StaticBody3D"] -transform = Transform3D(-4.371139e-08, 0.97463644, 0.22379455, 0, 0.22379453, -0.9746364, -0.99999994, -4.2602707e-08, -9.78237e-09, -0.45350623, 0.48975745, 0.00065624714) +[node name="CollisionShape3D4" type="CollisionShape3D" parent="RigidBody3D"] +transform = Transform3D(-4.371139e-08, 0.97463644, 0.22379455, 0, 0.22379453, -0.9746364, -0.99999994, -4.2602707e-08, -9.78237e-09, -0.45395207, 0.47930285, -0.028973818) shape = SubResource("BoxShape3D_11at7") -[node name="CollisionShape3D5" type="CollisionShape3D" parent="Basket_01/StaticBody3D"] -transform = Transform3D(1.3113416e-07, -0.9746364, -0.22379453, 1.7763567e-15, 0.22379453, -0.9746364, 1, 1.2780812e-07, 2.934711e-08, 0.330436, -0.029207826, 0.00065624714) +[node name="CollisionShape3D5" type="CollisionShape3D" parent="RigidBody3D"] +transform = Transform3D(1.3113416e-07, -0.9746364, -0.22379453, 1.7763567e-15, 0.22379453, -0.9746364, 1, 1.2780812e-07, 2.934711e-08, 0.32999015, -0.03966242, -0.028973818) shape = SubResource("BoxShape3D_geot1") [node name="Basket_02" type="MeshInstance3D" parent="."] @@ -1085,44 +1106,68 @@ skeleton = NodePath("") [node name="Roses" type="Node3D" parent="."] [node name="Rose" parent="Roses" instance=ExtResource("48_1s4n5")] -transform = Transform3D(0.9015156, -0.4327468, 0, 0.4327468, 0.9015156, 0, 0, 0, 1, -3.0100334, 0.8262182, 0.81372005) +transform = Transform3D(0.8685365, 0.4956254, 0, -0.4956254, 0.8685365, 0, 0, 0, 1, -2.6971622, 0.934981, 0.81372005) [node name="Rose2" parent="Roses" instance=ExtResource("48_1s4n5")] -transform = Transform3D(0.7062545, -0.7078493, -0.012409185, 0.70794666, 0.7062341, 0.0066987085, 0.004022113, -0.013516035, 0.9999007, -3.0100334, 0.8262182, 1.0379413) +transform = Transform3D(0.9839257, 0.17857221, -0.0015440262, -0.17853358, 0.9838339, 0.014017011, 0.004022113, -0.013516036, 0.99990064, -2.6971622, 0.934981, 1.0379413) [node name="Rose4" parent="Roses" instance=ExtResource("48_1s4n5")] -transform = Transform3D(0.70786643, -0.68577874, 0.1692119, 0.6958126, 0.71822345, 0, -0.12153195, 0.11773977, 0.98557967, -3.0100334, 0.8262182, 1.277164) +transform = Transform3D(0.9748597, 0.20098288, 0.09620014, -0.18675816, 0.9724933, -0.13920559, -0.12153196, 0.1177398, 0.9855798, -2.6971622, 0.934981, 1.277164) [node name="Rose5" parent="Roses" instance=ExtResource("48_1s4n5")] -transform = Transform3D(0.97738636, -0.2114613, 0, 0.2114613, 0.97738636, 0, 0, 0, 1, -2.6155522, 1.1810229, 1.0980062) -script = ExtResource("49_bahpm") +transform = Transform3D(0.7296256, 0.68384707, 0, -0.68384707, 0.7296256, 0, 0, 0, 1, -2.181005, 0.8121663, 1.0980062) [node name="Rose7" parent="Roses" instance=ExtResource("48_1s4n5")] -transform = Transform3D(0.9575206, -0.2679844, -0.10648269, 0.2828381, 0.94474125, 0.16573021, 0.056185488, -0.18880749, 0.9804055, -2.712664, 1.0545866, 0.82956517) +transform = Transform3D(0.77705103, 0.6248564, 0.07580392, -0.6269251, 0.75756615, 0.18182093, 0.056185503, -0.18880755, 0.98040575, -2.3402302, 0.8201758, 0.82956517) [node name="Rose6" parent="Roses" instance=ExtResource("48_1s4n5")] -transform = Transform3D(0.7062545, -0.7078493, -0.012409185, 0.70794666, 0.7062341, 0.0066987085, 0.004022113, -0.013516035, 0.9999007, -3.0100334, 1.0690117, 1.0379413) +transform = Transform3D(0.9839257, 0.17857221, -0.0015440262, -0.17853358, 0.9838339, 0.014017011, 0.004022113, -0.013516036, 0.99990064, -2.4974234, 1.0730138, 1.0379413) [node name="Rose8" parent="Roses" instance=ExtResource("48_1s4n5")] -transform = Transform3D(0.70786643, -0.68577874, 0.1692119, 0.6958126, 0.71822345, 0, -0.12153195, 0.11773977, 0.98557967, -3.0100334, 1.150405, 1.277164) +transform = Transform3D(0.9748597, 0.20098288, 0.09620014, -0.18675816, 0.9724933, -0.13920559, -0.12153196, 0.1177398, 0.9855798, -2.4304633, 1.1192875, 1.277164) + +[node name="Rose3" parent="Roses" instance=ExtResource("48_1s4n5")] +transform = Transform3D(0.99950284, -0.031532913, 0, 0.031532913, 0.99950284, 0, 0, 0, 1, -2.8055828, 0.8483346, 0.8162251) + +[node name="Rose9" parent="Roses" instance=ExtResource("48_1s4n5")] +transform = Transform3D(0.9321044, -0.36208677, -0.008643868, 0.3621677, 0.93204635, 0.0111420015, 0.004022113, -0.013516036, 0.99990064, -2.8055828, 0.8483346, 1.0404464) + +[node name="Rose10" parent="Roses" instance=ExtResource("48_1s4n5")] +transform = Transform3D(0.9286754, -0.33705378, 0.15478031, 0.35041702, 0.9340943, -0.06837922, -0.12153196, 0.1177398, 0.9855798, -2.8055828, 0.8483346, 1.279669) + +[node name="Rose11" parent="Roses" instance=ExtResource("48_1s4n5")] +transform = Transform3D(0.97948056, 0.20153949, 0, -0.20153949, 0.97948056, 0, 0, 0, 1, -2.3013678, 1.0134677, 1.1005113) + +[node name="Rose12" parent="Roses" instance=ExtResource("48_1s4n5")] +transform = Transform3D(0.9901527, 0.13664496, -0.03042885, -0.12822244, 0.9724609, 0.19462572, 0.05618552, -0.18880759, 0.98040587, -2.4412906, 0.937058, 0.83207023) + +[node name="Rose13" parent="Roses" instance=ExtResource("48_1s4n5")] +transform = Transform3D(0.9321044, -0.36208677, -0.008643868, 0.3621677, 0.93204635, 0.0111420015, 0.004022113, -0.013516036, 0.99990064, -2.7074692, 1.070421, 1.0404464) + +[node name="Rose14" parent="Roses" instance=ExtResource("48_1s4n5")] +transform = Transform3D(0.9286754, -0.33705378, 0.15478031, 0.35041702, 0.9340943, -0.06837922, -0.12153196, 0.1177398, 0.9855798, -2.6745777, 1.1448727, 1.279669) [node name="RoseVis" type="MeshInstance3D" parent="Roses"] transform = Transform3D(1.6008142, 1.1989136, 0, -1.1989136, 1.6008142, 0, 0, 0, 2, -2.4114342, 0.605142, 0.96325094) +visible = false mesh = SubResource("ArrayMesh_bahpm") skeleton = NodePath("") [node name="RoseVis2" type="MeshInstance3D" parent="Roses"] transform = Transform3D(0.8702421, 1.8007439, 0, -1.8007439, 0.8702421, 0, 0, 0, 2, -2.438636, 0.6761755, 1.2887225) +visible = false mesh = SubResource("ArrayMesh_bahpm") skeleton = NodePath("") [node name="RoseVis4" type="MeshInstance3D" parent="Roses"] transform = Transform3D(0.8702421, 1.8007439, 0, -1.8007439, 0.8702421, 0, 0, 0, 2, -2.5159216, 0.81656975, 1.117661) +visible = false mesh = SubResource("ArrayMesh_bahpm") skeleton = NodePath("") [node name="RoseVis3" type="MeshInstance3D" parent="Roses"] transform = Transform3D(0.8702421, 1.8007439, 0, -1.3303622, 0.6429216, 1.3478829, 1.213596, -0.58649224, 1.4775696, -2.440309, 0.6559197, 0.71342) +visible = false mesh = SubResource("ArrayMesh_bahpm") skeleton = NodePath("") @@ -1228,6 +1273,9 @@ transform = Transform3D(-0.007914604, -0.00079391425, -0.018350165, -0.000733232 transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.1297956, 1.00343, 2.6191468) mesh = SubResource("BoxMesh_gmm1g") +[node name="Hammer" parent="." instance=ExtResource("51_gmm1g")] +transform = Transform3D(0.5660891, -1.9103099, 0.1739514, 0, 0.18136814, 1.9917594, -1.9182135, -0.56375664, 0.051335264, -0.75209147, 1.0442615, -2.8823638) + [connection signal="changed" from="Lever" to="CoffinSwitcher/CoffinOpenable" method="_on_lever_changed"] [connection signal="on_hit" from="Button/Interactable" to="CoffinSwitcher/CoffinSlideFire" method="_on_interactable_on_hit"] [connection signal="on_hit" from="Button2/Interactable" to="CoffinSwitcher/CoffinSlideFire" method="_on_interactable_on_hit"]