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(