I have been using the standard OBJLoader from Three.JS to import my .OBJ files. The issue I am facing is that when I upload my model, it comes in as a single object without any children. Although the geometry is correct and everything seems fine, I want to be able to separate the parts into individual meshes. For instance, if I import a bed, I would like to manipulate just one side of the bed or select a specific mesh from the entire model.
Here is the file I am trying to upload: Test file.obj
Upon loading this file into Three.js, you will notice that it appears as a single object. However, looking at the .OBJ file, you can see that the meshes are separated (e.g., g akrMesh_65_65, g akrMesh_66_66). How can I modify the loading process so that each mesh is treated as a separate object?