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