From 7c05c34e07476b3d8dfd57348e357728fc2a76d9 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 23 May 2018 08:22:37 +0200 Subject: [PATCH] debug again --- ff0fsum4zx.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ff0fsum4zx.js b/ff0fsum4zx.js index a56a04e..9eee11a 100644 --- a/ff0fsum4zx.js +++ b/ff0fsum4zx.js @@ -57,7 +57,7 @@ this.kickDistance = 0; this.raycaster = new THREE.Raycaster(); -this.debug = false; +this.debug = true; this.gravity = -9.8; @@ -67,9 +67,9 @@ this.startRayZ = -2; this.endRayZ = -2.5; -this.playerY = 0.155; +this.playerY = 0.467; -this.ballY = 0.0355; +this.ballY = this.football.instance.geometry.boundingSphere.radius / 2; if (this.debug) { this.arrowHelper = new THREE.ArrowHelper(