public void ClearTargetVertex() { if (target != null) { target.ClearForceAtVertex(vertexIdx); } this.target = null; this.vertexIdx = -1; }