From a1ce9390e8be5122ad620fa2b9ca9aa6f970cb5f Mon Sep 17 00:00:00 2001 From: Quantum Date: Tue, 24 Dec 2024 12:51:57 -0500 Subject: [PATCH] Monitor --- scenes/level_pool.tscn | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/scenes/level_pool.tscn b/scenes/level_pool.tscn index 61303e8..9939ac9 100644 --- a/scenes/level_pool.tscn +++ b/scenes/level_pool.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=28 format=4 uid="uid://bbqug1s083mdi"] +[gd_scene load_steps=29 format=4 uid="uid://bbqug1s083mdi"] [ext_resource type="PackedScene" uid="uid://ci2uamlnv8swy" path="res://assets/maps/levelpool.blend" id="1_cpckw"] [ext_resource type="PackedScene" uid="uid://cy86jyiy6skvk" path="res://scenes/player.tscn" id="2_eggmh"] @@ -98,6 +98,9 @@ viewport_path = NodePath("Kreb/CSGMesh3D/Sprite3D/SubViewport") font_size = 20 font_color = Color(0.396889, 0.396889, 0.396889, 1) +[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_aa4aa"] +points = PackedVector3Array(-0.3, -0.208738, -0.27433, -0.275039, -0.358724, -0.27433, -0.3, -0.208738, -0.174369, -0.3, 0.391276, -0.27433, 0.27498, -0.358724, -0.27433, -0.275039, -0.358724, 0.32567, -0.3, 0.391276, -0.174369, 0.3, 0.391276, -0.27433, 0.27498, -0.358724, 0.32567, 0.3, -0.208738, -0.27433, -0.275039, -0.283768, 0.32567, -0.200039, 0.291213, 0.32567, 0.3, 0.391276, -0.174369, 0.3, -0.208738, -0.174369, 0.27498, -0.283768, 0.32567, 0.19998, 0.291213, 0.32567) + [node name="LevelPool" type="Node3D"] [node name="OmniLight3D" type="OmniLight3D" parent="."] @@ -236,10 +239,15 @@ grow_vertical = 2 text = "Krebathan" label_settings = SubResource("LabelSettings_7t61y") -[node name="monitor01" parent="." instance=ExtResource("12_nw67b")] -transform = Transform3D(-0.609108, 0, -0.793088, 0, 1, 0, 0.793088, 0, -0.609108, -4.52265, 0, -3.89963) +[node name="RigidBody3D" type="RigidBody3D" parent="." groups=["can_hold", "monitors"]] +transform = Transform3D(-0.609108, 0, -0.793087, 0, 1, 0, 0.793087, 0, -0.609108, -4.50229, 0.358724, -3.88399) -[node name="monitor01_rigid" parent="monitor01" index="0" groups=["can_hold", "monitors"]] +[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.000276208, -0.0256701) +shape = SubResource("ConvexPolygonShape3D_aa4aa") + +[node name="monitor01" parent="RigidBody3D/CollisionShape3D" instance=ExtResource("12_nw67b")] +transform = Transform3D(1, 0, 2.98023e-08, 0, 1, 0, -2.98023e-08, 0, 1, 0, -0.358724, 0.0256701) [connection signal="body_entered" from="WinBox" to="WinBox" method="_on_body_entered"] [connection signal="body_entered" from="Failure" to="Failure" method="_on_body_entered"] @@ -247,4 +255,3 @@ transform = Transform3D(-0.609108, 0, -0.793088, 0, 1, 0, 0.793088, 0, -0.609108 [connection signal="finished" from="Kreb/WinDialog" to="ExitDoor" method="open"] [editable path="levelpool"] -[editable path="monitor01"]