From c5a557c8307a1ff8b43244becdb7351ece6ddc80 Mon Sep 17 00:00:00 2001 From: Dendy Faist Date: Wed, 4 Mar 2026 20:52:33 +0100 Subject: [PATCH] feat: Make all building collisions share collisionshape --- chunk.tscn | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/chunk.tscn b/chunk.tscn index c1c808b..57445d8 100644 --- a/chunk.tscn +++ b/chunk.tscn @@ -33,15 +33,6 @@ size = Vector3(55, 50, 55) [sub_resource type="BoxShape3D" id="BoxShape3D_a0kup"] size = Vector3(55, 50, 40) -[sub_resource type="BoxShape3D" id="BoxShape3D_7yqgf"] -size = Vector3(55, 50, 40) - -[sub_resource type="BoxShape3D" id="BoxShape3D_381vs"] -size = Vector3(40, 50, 55) - -[sub_resource type="BoxShape3D" id="BoxShape3D_eat54"] -size = Vector3(40, 50, 55) - [node name="Chunk" type="Node3D" unique_id=1195945545] script = ExtResource("1_kdh3y") @@ -117,16 +108,17 @@ shape = SubResource("BoxShape3D_a0kup") transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -47.5, 0, 0) [node name="Collision" type="CollisionShape3D" parent="BuildingAreas/B_area_W" unique_id=1045867626] -shape = SubResource("BoxShape3D_7yqgf") +shape = SubResource("BoxShape3D_a0kup") [node name="B_area_S" type="StaticBody3D" parent="BuildingAreas" unique_id=1192841263] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 47.5) +transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 0, 0, 47.5) [node name="Collision" type="CollisionShape3D" parent="BuildingAreas/B_area_S" unique_id=685649647] -shape = SubResource("BoxShape3D_381vs") +shape = SubResource("BoxShape3D_a0kup") [node name="B_area_N" type="StaticBody3D" parent="BuildingAreas" unique_id=1360962540] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -47.5) [node name="Collision" type="CollisionShape3D" parent="BuildingAreas/B_area_N" unique_id=2008861829] -shape = SubResource("BoxShape3D_eat54") +transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 0, 0, 0) +shape = SubResource("BoxShape3D_a0kup")