From b7193afa3e0e3ea78f744ac6207127ed456c52bb Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Tue, 31 Oct 2017 14:05:22 +0100 Subject: [PATCH] Update: Custom Code - BK Flame - Before Render (dywmtohrda.js) 53 bytes modified --- dywmtohrda.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 );