Update: CC - Entity Loaded - AR Football 3 (ff0fsum4zx.js) 59 bytes modified

beta.r3js.org
Theunis Johannes Botha 2018-05-21 14:54:56 +02:00
parent 2cf1410589
commit d5509d9d7f
1 changed files with 3 additions and 5 deletions

View File

@ -57,7 +57,7 @@ this.kickDistance = 0;
this.raycaster = new THREE.Raycaster();
this.debug = true;
this.debug = false;
this.gravity = -9.8;
@ -225,10 +225,8 @@ R3.CustomCode.prototype.move = function(data) {
var x = data.x;
var y = data.y;
if (data.source === 'mouse' || 'touch') {
x *= 0.0025;
y *= 0.0075;
}
x *= 0.0025;
y *= 0.0075;
this.playerRotation.x += x;
this.playerRotation.y += y;