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

beta.r3js.org
-=yb4f310 2017-11-03 10:25:42 +01:00
parent 6a591c2318
commit b05b3a0c6c
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ if (this.spawningBullets === true) {
console.log('start: ', start);
console.log('end: ', end);
this.meshFireBall.renderOrder = this.flames.length;
this.meshFireBall.renderOrder = Number(1000 - Number(this.flames.length));
var flameMesh = this.meshFireBall.clone();
flameMesh.position.x = start.x;