From ef6c452ae8e02aa5f61ba346f5956e6499d52cb8 Mon Sep 17 00:00:00 2001 From: Dendy Faist Date: Thu, 5 Mar 2026 18:47:47 +0100 Subject: [PATCH] feat: Adjust station walls, make pedestrians interact with it --- station.tscn | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/station.tscn b/station.tscn index ae637d0..e37364c 100644 --- a/station.tscn +++ b/station.tscn @@ -68,7 +68,10 @@ height = 12.0 albedo_color = Color(0.32309133, 0.18083456, 0.02107518, 1) [sub_resource type="BoxShape3D" id="BoxShape3D_qalsi"] -size = Vector3(10.328461, 19.235413, 1) +size = Vector3(10.328461, 19.235413, 100.52051) + +[sub_resource type="BoxShape3D" id="BoxShape3D_sum1q"] +size = Vector3(16.840843, 19.235413, 1) [node name="Station" type="Node3D" unique_id=1195945545] script = ExtResource("1_lu35c") @@ -259,23 +262,19 @@ transform = Transform3D(1, 0, 0, 0, -4.371139e-08, -1, 0, 1, -4.371139e-08, 23.1 mesh = SubResource("CylinderMesh_oblqs") surface_material_override/0 = SubResource("StandardMaterial3D_72kuv") -[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=164550345] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 59.986458) - -[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" unique_id=302080513] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.37850952, 9.117706, 0) -shape = SubResource("BoxShape3D_qalsi") - -[node name="StaticBody3D2" type="StaticBody3D" parent="." unique_id=1827051563] +[node name="Walls" type="StaticBody3D" parent="." unique_id=1827051563] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -40.55725, 0, 59.986458) +collision_layer = 65535 +collision_mask = 65535 -[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D2" unique_id=1384700771] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.6307526, 9.117706, 0) +[node name="LeftWall" type="CollisionShape3D" parent="Walls" unique_id=1384700771] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.631, 9.118, -52.22) shape = SubResource("BoxShape3D_qalsi") -[node name="StaticBody3D3" type="StaticBody3D" parent="." unique_id=1781004061] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48.200535, 0, 59.986458) +[node name="MiddleWall" type="CollisionShape3D" parent="Walls" unique_id=302080513] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 40.28652, 9.117706, 0) +shape = SubResource("BoxShape3D_sum1q") -[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D3" unique_id=1875610184] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.6307526, 9.117706, 0) +[node name="RightWall" type="CollisionShape3D" parent="Walls" unique_id=1875610184] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 85.126785, 9.118, -52.22) shape = SubResource("BoxShape3D_qalsi")