If it’s just for the playground, you should be able to load the UMD script as noted in the npm readme:
or
You can use BABYLON.Tools.LoadScriptAsync to load the scripts.
If it’s just for the playground, you should be able to load the UMD script as noted in the npm readme:
or
You can use BABYLON.Tools.LoadScriptAsync to load the scripts.