Jump to content

Recommended Posts

Turns out, due to unknown sorcery, that the first 6 values in msh.triangles were being removed. So then I manually replaced them and the face reappeared, but was removed again any time I changed anything in the geometry. So I just manually made a new face and appended it to the mesh and set it's vertices to be the same as the missing face. This fix stuck, so that's that I guess.

Share this post


Link to post
Share on other sites

New oddity I'm dealing with now... how is it possible for a pb_Object's faces to become null even though the object visibly has all of it's faces (cube)? I'm not removing/deleting faces.

for (int jFace = 0; jFace < _ourPBCube.faces.Length; jFace++)
{
  if (_ourPBCube.faces[jFace]==null)
  {
    Debug.LogWarning("EGADS!!!");
  }          
}

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×