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

beta.r3js.org
-=yb4f310 2017-10-31 14:49:14 +01:00
parent a96f2b41fd
commit 778ea47a57
1 changed files with 2 additions and 0 deletions

View File

@ -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);