diff --git a/dywmtohrda.js b/dywmtohrda.js index 36a507e..4e9756f 100644 --- a/dywmtohrda.js +++ b/dywmtohrda.js @@ -160,9 +160,13 @@ if (this.spawningBullets === true) { var end = start.clone().add(direction.clone().multiplyScalar(1000)); + start.x = 0.5; + start.y = 0.5; + start.z = 0.5; + //start = position.clone().add(direction.clone().negate().multiplyScalar(5)); - start.x += 5; + start.unproject(this.camera.instance); console.log('start: ', start);