为什么我的游戏对象在结构网格中不可见

Why is my gameObject not visible with structure mesh

我为一个对象生成动态网格和材质。像这样的对象网格:http://prntscr.com/8z98f4. And in the scene it looks like this: http://prntscr.com/8z98hk。为什么物体画有空腔?

您似乎还没有定义网格的法线?

你可以这样做:http://docs.unity3d.com/ScriptReference/Mesh.RecalculateNormals.html

或者自己计算法线然后这样设置: http://docs.unity3d.com/ScriptReference/Mesh-normals.html