fine modellazione principale dell'isola

This commit is contained in:
SimonezYT committed 2026-03-18 10:20:25 +01:00
1 parent 7806924d8e
commit 7ee94cb046
2 files changed
+3 -2

No files matched your search

+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() {