Can someone help me to figure out how to import a collada file (.dae) directly to a scene
Divor.txt.zip (2.4 KB)
Im using to import:
BABYLON.SceneLoader.ImportMesh(‘’, ‘./’, ‘Divor.dae’, scene, function (meshes) {
Im getting the following error:
[Warning] BJS - [22:57:03]: Unable to find a plugin to load .dae files. Trying to use .babylon default plugin. To load from a specific filetype (eg. gltf) see: Loading Any File Type | Babylon.js Documentation (babylon.js, line 1)
[Error] BJS - [22:57:03]: Unable to load from ./Divor.dae: importMesh of undefined from undefined version: undefined, exporter version: undefinedimportMesh has failed JSON parse
(função anônima) (babylon.js:1:158994)
(função anônima)
p (babylon.js:1:1177880)
importMesh (babylon.js:1:3295622)
(função anônima) (babylon.js:1:1178307)
f (babylon.js:1:1175893)
(função anônima) (babylon.js:1:377700)
e (babylon.js:1:378889)