Hello,
I’ve got complexe 3D models with a lot of Meshes and Sub-Meshes. I would like to gather all of them into 1 unique “big mesh”, in order to use it as a MeshFilter and a MeshCollider. By the way, I would also be able to get the “center” of my model, which I struggle to do right now with all thoses Meshes.
I already checked CombineMeshes method, but I don’t think I used it propely (didn’t work). Anyway, I don’t want to calculate this “big mesh” everytime the game lauchs. I want to store my 3D model as a prefab, with the “big mesh” as it’s only mesh. I would like my prefab to be ready-to-use, so the “big mesh” has to be set as the MeshFilter and as the MeshCollider of my prefab.
I unfortunatly have no clue how to do that… any tips please ?