Pretty straightforward question, I’d like to know how to retrieve the vertices that compose the mesh of a MeshCollider. I already have code to get the vertices of a mesh object and by extension have no trouble getting the vertices of the visible mesh that the collider is supposed to surround, however the collider and the visible mesh are not guaranteed to be identical. Is there any way to get the actual Mesh object of the shape of the collider itself? Thanks!
GetComponent().sharedMesh.vertices
1 Like
Heh, I misread that to be the underlying imitated visual mesh. Thanks.