Append(“assets/images/”, “teapot.obj”, scene,` function (scene) {
scene.createDefaultCameraOrLight(true, true, true)
camera.alpha += Math.PI;
}`,
`function (scene) {}`,// <== on proccess
`function (scene) {}`,// <== on error
`'.obj'` // type of file <== without this i cant load scene
)
Currently using SceneLoader from @babylon/core
If I am importing @babylon/loader in typescript file like import ‘@babylonjs/loaders/OBJ’; facing this issue