fix: better sites

This commit is contained in:
DottsGit
2026-06-06 12:26:03 -04:00
parent 775e57ba4a
commit 050912ca61
+3 -2
View File
@@ -62,8 +62,9 @@ func _build_dust2_layout() -> void:
var carve_open = func(pos: Vector3, size: Vector3): var carve_open = func(pos: Vector3, size: Vector3):
var hole = CSGBox3D.new() var hole = CSGBox3D.new()
hole.operation = CSGShape3D.OPERATION_SUBTRACTION hole.operation = CSGShape3D.OPERATION_SUBTRACTION
hole.size = Vector3(size.x, 25, size.z) var height = 25.0 - pos.y
hole.position = Vector3(pos.x, 12.5, pos.z) hole.size = Vector3(size.x, height, size.z)
hole.position = Vector3(pos.x, pos.y + (height / 2.0), pos.z)
root_csg.add_child(hole) root_csg.add_child(hole)
return hole return hole