Hi, i have a project in unity in which i imported a 3D model, the same comes with some basic information of every component of the model… in unity avery object has a mesh and all the attributes are stored inside that mesh.
the question is it is possible get the meshed of an object and store and then retrieve these attributes?
i currently have this code, looks logical for me but i’m lost in the last step, idk if this is even possible.
public MeshFilter canmesh;
public GameObject can;
void Start()
{
//if (can == null)
can = GameObject.FindWithTag("can");
canmesh = can.GetComponent<MeshFilter>();
Debug.Log("CAN MESH", canmesh);
}
find attached a picture of the mesh attributes in UI
im trying to get locate the object - get inside the filter mesh and then print it, lol
any help?
Thanks,