How can I import unity prefabs into babylon.js?

Hi all. I thought it would be nice to make an app wrapper around the utility that @slin recommended so that other Babylon js makers could convert assets from unity (or any FBX) without all the hassle. It was a little more challenging than i thought, but got it up and running. Just drag a FBX onto the drop area and it’ll give you your GLB in a min or so.

One thing i noticed though is that fbx2gltf doesn’t always give you back the GLB with material baked in. @slin any ideas for that? Are the some flags you use? Currently i’m not using any flags (ooh, actually, maybe i need to use “-b”)

https://convertfbx.web.app/

2 Likes