Hi all,
what is the best way to load an external script in playground? I have a playground and every time I start the browser an error message is displayed "Compilation error
Line 7:15 - BABYLONX is not defined". If I press then the run button, everything works fine. I tried to move the document.appendChild() outside the createScene() function but no change. Maybe there is a better aproach?
here is the playground: http://www.babylonjs-playground.com/#1MYQ3T#2
Thanks
PS: I've tried following, but also without success:
$.holdReady(true);
$.getScript("https://rawgit.com/androdlang/Extensions/master/ClonerSystem/src/babylonx.cloner.js", function() {
$.holdReady(false);
});