protected void Create() { modelMeshes = EngineContent.GetModelByName(file); float mayor = -1; int index = 0; //calculates the mesh index with the bigger bounding sphere radius foreach (var item in modelMeshes.Meshes) { if (item.BoundingSphere.Radius > mayor) { meshIndexforSelection = index; mayor = item.BoundingSphere.Radius; } index++; } }