Hi Everybody
i’ve a few mesh files
the first one contains the character itself and a few submeshes that is used as a substitute for other mesh files
basically once loaded the mesh will be replaced by another mesh file depending on its submesh id
the problem is, everytime the mesh is being called to replace i keep getting rangeerror. i’ve tried setting the min weight to 0.01 and remove all zero weights but still without a good outcome. the weird thing is when all the meshes are loaded at once, it works.
this is the way i replace the submeshes
baseMesh.subMeshes[subMeshId].subGeometry = partMesh.subMeshes[0].subGeometry;
im using MD5 file format and der_ton’s md5 exporter , , i have attached the main md5mesh and one of the submesh files .