Update: Custom Code - BK Flame - Before Render (dywmtohrda.js) 50 bytes modified
parent
e777928ade
commit
01a8bffc4f
|
@ -140,9 +140,10 @@ if (this.spawnTime > this.nextSpawnTime) {
|
|||
}
|
||||
|
||||
this.flames.map(
|
||||
function(flame) {
|
||||
function(flame, index) {
|
||||
flame.mesh.position.add(flame.direction);
|
||||
flame.mesh.updateInstancePosition();
|
||||
flame.mesh.instance.renderOrder = index;
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue