feat(composition): dive world assembled from a selected site definition

The calibration site spawn sat 16 m from the south bounds edge, inside the
40 m warning margin. The vehicle_test recipe now extends the terrain and
playable bounds 42 m to the south so the spawn is inside the zone.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
OlivierandClaude Sonnet 5.5 committed 2026-10-06 20:16:45 +02:00
1 parent bbf1dc9990
commit 51634820bd
12 files changed
+154 -258

No files matched your search

+2 -2
View File
@@ -11,7 +11,7 @@ const SitePlacement = preload("res://game/domain/sites/site_placement.gd")
static func recipe() -> SiteTerrainBaker.Recipe:
var result := SiteTerrainBaker.Recipe.new()
result.columns = 61
result.rows = 69
result.rows = 83
result.cell_size_m = 3.0
result.origin_x_m = -90.0
result.origin_z_m = -176.0
@@ -35,7 +35,7 @@ static func definition(terrain: SiteTerrainData) -> DiveSiteDefinition:
result.site_id = &"vehicle_test"
result.display_name = "Site de calibration du véhicule"
result.terrain = terrain
result.playable_bounds_m = Rect2(-90.0, -176.0, 180.0, 204.0)
result.playable_bounds_m = Rect2(-90.0, -176.0, 180.0, 246.0)
result.spawn_position_m = Vector3(0.0, -12.0, 12.0)
result.spawn_yaw_radians = 0.0
var target := SitePlacement.new()