fine modellazione principale dell'isola

This commit is contained in:
2026-03-18 10:20:25 +01:00
parent 7806924d8e
commit 7ee94cb046
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -168,7 +168,7 @@ const raycaster = new THREE.Raycaster();
const downVector = new THREE.Vector3(0, -1, 0);
// --- CONFIGURAZIONE MOVIMENTO ---
let canLeaveIsland = true; // Se false, l'acqua blocca il movimento.
let canLeaveIsland = false; // Se false, l'acqua blocca il movimento.
let lastSafePosition = camera.position.clone();
function animate() {