diff --git a/dywmtohrda.js b/dywmtohrda.js index cd4dda4..21e535c 100644 --- a/dywmtohrda.js +++ b/dywmtohrda.js @@ -179,7 +179,11 @@ if (this.spawningBullets === true) { var line = new THREE.Line( geometry, material ); - line.position.set(this.camera.position.instance); + line.position.set( + this.camera.position.x, + this.camera.position.y, + this.camera.position.z + ) this.scene.instance.add( line );