Like the title says, when attempting to use the OBJExport.OBJ function the browser tells me OBJExport is undefined.
I’m using the cdn link for access to the babylon library. (without the first slash)
" </script src=“https://cdn.babylonjs.com/babylon.max.js”>"
This has worked swell untill i wanted to export out a mesh as a .obj using the code
var obj = BABYLON.OBJExport.OBJ(array_Meshes, false, "", true)
Which is when i get the error in the browser
“Uncaught TypeError: BABYLON.OBJExport is undefined”
What seems to be the case is that the cdn link does not contain the objexport method, but i can’t find anyone discussing this issue or explaining it. Has OBJExport been removed?
I’m guessing i could solve the issue by downloading babylonjs to the computer and run it from there, but i liked using the cdn link, so any solutions?
Can add that the same problem applies to BABYLON.GLTF2Export