fine modellazione principale dell'isola
This commit is contained in:
+1
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user