I wrote a simple script to mark the vertices on my game object
public class DrawVertices : MonoBehaviour
{
private void OnDrawGizmos()
{
var vertices = GetComponent<MeshFilter>().sharedMesh.vertices;
foreach (var vertex in vertices)
{
Gizmos.color = Color.red;
Gizmos.DrawSphere(vertex, (float)0.2);
}
}
}
But the Spheres that I draw don’t look like they line up with the mesh see pic below