I have read that you can create a scene with editor adding models and textures and then export the complete scene and load it with babylon.js. What I’m trying to do is use Box2D.js as a serverside physics engine and, for convenience, I don’t really want to redo the map again after finishing it in the editor.
Im looking for a way that when I export the scene from the editor, and there is some data(from the .babylon file) I can use to generate the colliders using Box2D. Like, for example, an specific type of object with position, orientation and size and then using that data to create the boundaries and gets removed when the scene is loaded. Or any other idea.