- Home /
Question is off-topic or not relevant
Create a hole in a mesh
Hello to everybody.
I have like 4 weeks using Unity,
I need to create a hole in a model every time the user clicks the model, deleting the triangle from the array mesh.triangles would be a solution but not all the triangles of the model have the same size, so not all the holes will be the same size.
Do you have any idea?
thanks from now and
Thanks all for the quick answer (except for the totally useless answer of Benproductions1) im looking for a quick way to implement this solution.
I will still search for a solution, if i have something ill post it.
Answer by Benproductions1 · Jul 18, 2013 at 11:07 PM
http://lmgtfy.com?q=Unity+create+hole+in+mesh
How about following the link and finding a solution that people have solved many times before. It's not sarcasm, I'm simply telling you to use google before asking a question here.
Answer by tw1st3d · Jul 18, 2013 at 11:08 PM
You'll have to do that yourself with your mesh, there's no real way of coding it or setting it up with objects or anything. Drop it into blender or something like that.
You can do it procedurally. There is no problem with procedural mesh generation. It's just that people have asked this before and have gotten suitable answers. There are even assets on the asset store that do this for you.
The OP obviously needs to learn how to use google :)