I have this model in Prefab3d, click on this image to see what I have.
As you can see I have more than 100 meshes. I want to combine them all into one mesh.
The reason for that is because I want to access the whole model as one mesh in away3d. I want this code to work -
mesh = Mesh(AssetLibrary.getAsset("wholeModel"));
Atm, when I am tracing this
trace(event.asset.name);
I am outputting the name of all the meshes one by one - like Line1, Line2, Rectangle3, Cube1, Cube2 and so on.
Note: I also want the textures to remain the way they are. So combining the whole model in one mesh should not cause the whole mesh to have one texture.
Thanks