megmut Posted October 5, 2015 Share Posted October 5, 2015 Hey guys, just a quick one.. Could anybody recommend or argue against putting:this.world.sort("z");Inside the update loop. I have lots of groups that have constantly changing z values. Just curious to see how others do it Thanks Nick Link to comment Share on other sites More sharing options...
tips4design Posted October 5, 2015 Share Posted October 5, 2015 You could keep them sorted and only sort when the Z values changes or you add a new element. Link to comment Share on other sites More sharing options...
Recommended Posts