Hi all. I'm trying to return an array of objects loaded by the Mesh Importer for later use. I would like to be able to call a function to load my objects and outside of the function, affect & change each one of them OUTSIDE of the function.
Here is the small demo I made ::
http://www.babylonjs-playground.com/#1QJUDF#3
Thank you! <3
Mythros
@Mythros Here is a version of my original example modified in the way that @JohnK suggested:
You can modify props after calling loadEntity:
https://www.babylonjs-playground.com/#YGUADW#11
or when calling loadEnitity (currently only supports position and scaling):
https://www.babylonjs-playground.com/#YGUADW#8