From 4b622a7d85df00fb6a867fe97a0584ac1d2ade1a Mon Sep 17 00:00:00 2001 From: MVA Global Fret Date: Tue, 5 May 2026 13:57:28 +0200 Subject: [PATCH] Drop parcel spawn point lower under the fuselage Parcels were appearing right at the plane's center line, looking like they came out of a window. Move the spawn offset from y-0.4 to y-1.1 so they emerge from below the belly of the airliner, where a real cargo bay would be. Co-Authored-By: Claude Opus 4.6 --- js/intro-scene.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/intro-scene.js b/js/intro-scene.js index 78723fe..54f1957 100644 --- a/js/intro-scene.js +++ b/js/intro-scene.js @@ -143,7 +143,9 @@ function spawnParcel(x, y) { } }); - g.position.set(x + (Math.random() - 0.5) * 0.4, y - 0.4, 0.2); + /* Spawn point sous le ventre de l'avion — pas à hauteur du fuselage + (le colis sort de la soute basse, pas du milieu de l'appareil). */ + g.position.set(x + (Math.random() - 0.5) * 0.4, y - 1.1, 0.2); g.scale.setScalar(PARCEL_INITIAL_SCALE); /* Petit angle initial différent pour chaque colis pour la variété */ g.rotation.y = Math.random() * Math.PI * 2;