Ejemplo n.º 1
0
    void VerifyWeldVertex(SkinnedMeshRenderer meshR, Transform child)
    {
        if (meshR != null && meshR.CompareTag("WeldVertex"))
        {
            foreach (var V in meshR.sharedMesh.vertices)
            {
                weldVertices.Add(child.TransformPoint(V) - parentObj.transform.position);
            }

            Debug.Log(weldVertices.Count + " são weld vertex");
        }
    }