From c09f19d9c545a0a9efe6def803f7b082566415cf Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Tue, 31 Oct 2017 14:00:52 +0100 Subject: [PATCH] Update: Custom Code - BK Flame - Before Render (dywmtohrda.js) 38 bytes modified --- dywmtohrda.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dywmtohrda.js b/dywmtohrda.js index 3b87d9a..49761a3 100644 --- a/dywmtohrda.js +++ b/dywmtohrda.js @@ -151,7 +151,7 @@ if (this.spawningBullets === true) { - var direction = lookAt.sub(position).normalize(); + var direction = lookAt.sub(position).normalize().add(this.camera.position.instance); var start = direction.clone(); @@ -161,6 +161,7 @@ if (this.spawningBullets === true) { end.multiplyScalar(100); + console.log(start); //var mInverse = new THREE.Matrix4().getInverse( this.sceneCrosshair.instance.matrixWorld );