From fa869093f082231f66a1f4bde7ae2a86c37eafc5 Mon Sep 17 00:00:00 2001 From: Theunis Johannes Botha Date: Wed, 23 May 2018 08:26:09 +0200 Subject: [PATCH] Update: CC - Entity Loaded - AR Football 3 (ff0fsum4zx.js) 50 bytes modified --- ff0fsum4zx.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ff0fsum4zx.js b/ff0fsum4zx.js index a56a04e..c590fe5 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.375; -this.ballY = 0.0355; +this.ballY = this.football.instance.geometry.boundingSphere.radius / 2; if (this.debug) { this.arrowHelper = new THREE.ArrowHelper(