Group Holes with Hull Convex

This commit is contained in:
2025-11-24 20:29:46 -05:00
parent 0a3919ce4c
commit 1c8e3d7314
13 changed files with 77 additions and 39 deletions

View File

@@ -183,6 +183,8 @@ verts2d = PackedVector2Array(-1, -1.5, 1, -1.5, 1, 1.5, -1, 1.5, -1, -1.5)
meshInstance3d = NodePath("entity_2_mesh_instance")
depth = -1.0
depth_position_offset = Vector3(0, 0, 0.5)
hole_proximity = 1.0
edge_non_fracture = 0.01
[node name="entity_2_mesh_instance" type="MeshInstance3D" parent="FuncGodotMap/entity_2_func_destructablewall"]
mesh = SubResource("ArrayMesh_eudka")
@@ -192,9 +194,11 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.75, 2, -2.953125)
script = ExtResource("6_u45fp")
verts2d = PackedVector2Array(-2.546875, -1.5, 2.546875, -1.5, 2.546875, 1.5, -2.546875, 1.5, -2.546875, -1.5)
meshInstance3d = NodePath("entity_3_mesh_instance")
extrusion_direction = 1
depth = -0.5
depth_position_offset = Vector3(-0.25, 0, 0)
extrusion_direction = 1
hole_proximity = 1.0
edge_non_fracture = 0.01
[node name="entity_3_mesh_instance" type="MeshInstance3D" parent="FuncGodotMap/entity_3_func_destructablewall"]
mesh = SubResource("ArrayMesh_qtvpr")
@@ -204,9 +208,11 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.953125, 0.75, -4.5)
script = ExtResource("6_u45fp")
verts2d = PackedVector2Array(-1.546875, -2, 1.546875, -2, 1.546875, 2, -1.546875, 2, -1.546875, -2)
meshInstance3d = NodePath("entity_4_mesh_instance")
extrusion_direction = 2
depth = -0.5
depth_position_offset = Vector3(0, -0.25, 0)
extrusion_direction = 2
hole_proximity = 1.0
edge_non_fracture = 0.01
[node name="entity_4_mesh_instance" type="MeshInstance3D" parent="FuncGodotMap/entity_4_func_destructablewall"]
mesh = SubResource("ArrayMesh_drwxn")
@@ -218,6 +224,8 @@ verts2d = PackedVector2Array(-1.046875, -1.5, 1.046875, -1.5, 1.046875, 1.5, -1.
meshInstance3d = NodePath("entity_5_mesh_instance")
depth = -1.0
depth_position_offset = Vector3(0, 0, 0.5)
hole_proximity = 1.0
edge_non_fracture = 0.01
[node name="entity_5_mesh_instance" type="MeshInstance3D" parent="FuncGodotMap/entity_5_func_destructablewall"]
mesh = SubResource("ArrayMesh_rmkky")
@@ -227,9 +235,11 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.75, 2, 2.546875)
script = ExtResource("6_u45fp")
verts2d = PackedVector2Array(-2.546875, -1.5, 2.546875, -1.5, 2.546875, 1.5, -2.546875, 1.5, -2.546875, -1.5)
meshInstance3d = NodePath("entity_6_mesh_instance")
extrusion_direction = 1
depth = -0.5
depth_position_offset = Vector3(-0.25, 0, 0)
extrusion_direction = 1
hole_proximity = 1.0
edge_non_fracture = 0.01
[node name="entity_6_mesh_instance" type="MeshInstance3D" parent="FuncGodotMap/entity_6_func_destructablewall"]
mesh = SubResource("ArrayMesh_epu3l")
@@ -239,9 +249,11 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 1, -3.7500305)
script = ExtResource("6_u45fp")
verts2d = PackedVector2Array(-1.0000001, -0.7500305, 0.9998779, -0.25006104, 1, -0.24996948, 1, 0.7500305, -1.0000001, 0.7500305, -1.0000001, -0.7500305)
meshInstance3d = NodePath("entity_7_mesh_instance")
extrusion_direction = 2
depth = -1.0000000596046448
depth_position_offset = Vector3(0, -0.5, 0)
extrusion_direction = 2
hole_proximity = 1.0
edge_non_fracture = 0.01
[node name="entity_7_mesh_instance" type="MeshInstance3D" parent="FuncGodotMap/entity_7_func_destructablewall"]
mesh = SubResource("ArrayMesh_lqn8c")
@@ -253,6 +265,8 @@ verts2d = PackedVector2Array(-1.046875, -1.5, 1.046875, -1.5, 1.046875, 1.5, -1.
meshInstance3d = NodePath("entity_8_mesh_instance")
depth = -0.03125
depth_position_offset = Vector3(0, 0, 0.015625)
hole_proximity = 1.0
edge_non_fracture = 0.01
[node name="entity_8_mesh_instance" type="MeshInstance3D" parent="FuncGodotMap/entity_8_func_destructablewall"]
mesh = SubResource("ArrayMesh_08uri")