debug again

beta.r3js.org
-=yb4f310 2018-05-23 08:22:37 +02:00
parent 3d7d855a7d
commit 7c05c34e07
1 changed files with 3 additions and 3 deletions

View File

@ -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(