Hi, is there anyway to show a model ingame highlighting the triangles like in the editor when you select the object?
Just like:
Thanks, Alvaro
Hi, is there anyway to show a model ingame highlighting the triangles like in the editor when you select the object?
Just like:
Thanks, Alvaro
You can do that with Vectrosity. This code:
var wireframe = new VectorLine("Wireframe", new Vector3[2], Color.blue, null, 1.0);
wireframe.MakeWireframe (gameObject.GetComponent(MeshFilter).mesh);
wireframe.Draw3D (transform);
results in this, when attached to a sphere object:
–Eric