From 778ea47a57c634880517b5b77a2d339b71290a01 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Tue, 31 Oct 2017 14:49:14 +0100 Subject: [PATCH] Update: Custom Code - BK Flame - Before Render (dywmtohrda.js) 55 bytes modified --- dywmtohrda.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dywmtohrda.js b/dywmtohrda.js index 31eb23a..e183de2 100644 --- a/dywmtohrda.js +++ b/dywmtohrda.js @@ -149,6 +149,8 @@ if (this.spawningBullets === true) { var position = this.camera.position.instance.clone(); var lookAt = this.camera.lookAt.instance.clone(); + var direction = lookAt.sub(position).normalize(); + var start = new THREE.Vector3(0,0,0.5); start.unproject(this.camera.instance);