Added debug bool

Used to enable spamming of the player position in the browser console
This commit is contained in:
2023-11-29 09:18:20 +01:00
parent 95a71de2bb
commit 800c3fd275
2 changed files with 4 additions and 1 deletions

View File

@@ -63,7 +63,6 @@ export function handleKeyDown(event) {
for(let i=0; i<intersects.length; i++){
if(intersects[i].distance>collisionThreshold && intersects[i].distance<allowedDistance){
//Valid colliding object, not too close ( player leg / arm ), but not too far
console.log(intersects[i]);
playerDirection.set(0, 0, 0);
break;
}