Import collada file

Can someone help me to figure out how to import a collada file (.dae) directly to a scene (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)

As far as I know there are no plugins supporting DAE for Babylon.js.
One needs to save DAE file as GLTF/GLB, for example using Blender.
Here is another thread with the same question - Collada / .dae Importer

1 Like

there is this loader GitHub - polyhobbyist/babylon-collada-loader

it is used in the microsoft ros vscode extension here
.GitHub - ms-iot/vscode-ros: Visual Studio Code extension for Robot Operating System (ROS) development
via the viewer here
.GitHub - polyhobbyist/babylon_ros

seems microsoft maintained idk if @deltakosh is aware of it