Mesh mesh = 坦克.GetComponent<MeshFilter>().mesh;
Vector3[] vertices = mesh.vertices;
foreach(vertices v in vertices ) {
v += new Vector3(要移动的距离)
}
mesh.vertices = vertices;
mesh.RecalculateBounds();
转载于:https://www.cnblogs.com/mukeyang/p/4633085.html