Unique Conditions for Each Clone and Instance

Back to Babylon.js issues

Like this

(note I had to change to registerAfterRender since using ‘before’ meant that mesh world matrices were not calculated and at the start all meshes intersected at (0, 0, 0) so all offspring were calculated immeadiately and so no boxes could produce offspring after this.

This shows the basic idea only a lot more thinking to be done.

1 Like

Awesome! With those last posts and code examples, I think the most challenging elements of this whole project are much more manageable now. Basic JavaScript is definitely my Achilles’ heel in all of this, so it’s very helpful to get working examples of the complex arrays and the application of metadata. Excellent explanation of the JavaScript as well!

I’m going to take some time to study the code and learn more about how it works. I can also finally start focusing on the creative elements (3D models, textures, animations, etc.) now that I know the code foundations are there.

Again, I’m incredibly grateful for your help! :smiley: :+1:

1 Like