• Content Count

  • Joined

  • Last visited

  1. fernfreak

    Load all assets in a folder

    Thanks for the quick response! :) in that case, do most people use some sort of manifest file, load that first, then load the files listed within? Or do they load a zip of some sort?
  2. fernfreak

    Load all assets in a folder

    I was looking through the Loader class, and it seems that in order to load an asset, I need to name each file, like in: loader.add('example-sprites', 'example-sprite-sheet.json'); Is it possible to load all of the files in a folder without specifying each one by name? I know that I'd like to cache all the files within a specific folder, but I don't actually know what the filenames are prior to loading. If this isn't possible, what would be the best practice for this sort of situation when the files aren't known? Really appreciate any advice on this-- thanks in advance!
  3. fernfreak

    Cloning skeleton on iOS copies references

    I skimmed your sample (http://www.babylonjs-playground.com/#GTHTR#1) and this was incredibly useful for getting the mesh to clone properly on mobile. Unfortunately, once I use geometry.copy, the subMesh data is lost and I am unable to apply my multi-material. (I have subMeshes[2] on the original, but only subMeshes[1] on the clone) such that the textures are screwed up. On the other hand, if I don't do the geometrycopy, I am unable to have unique animations on the clones. Is there some way of doing geometry copy, but maintaining the subMesh data? Thanks in advance for the help!