Update: Custom Code - BK Flame - Before Render (dywmtohrda.js) 3 bytes modified

beta.r3js.org
-=yb4f310 2017-10-31 15:03:55 +01:00
parent 1e606d6d3b
commit 37ca3b801e
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ if (this.spawningBullets === true) {
var start = new THREE.Vector3(0,0,0.5);
start.unproject(this.camera.instance);
var end = start.clone().add(direction.clone().multiplyScalar(1000));
var end = position.clone().add(direction.clone().multiplyScalar(1000));
console.log('start: ', start);
console.log('end: ', end);