- Home /
Calculating triangles of a vertex array
Hey guys, I'm trying to do a "simple" one-segment extrusion of a procedurally generated 2D shape, a rectangle with a jagged top. I need to come up with a way to calculate the triangle index on the fly, not hard coded.
Any ideas?
Comment
Cross-link to forum thread: http://forum.unity3d.com/threads/87024-Extruding-a-2D-mesh-collider.
Your answer
Follow this Question
Related Questions
Mesh Creation Problem 0 Answers
Unity re-ordering triangle indexes?? 1 Answer
Odd Duplicate when selecting Triangle from Mesh (with Barycentric Selection.) 1 Answer
Connecting flatshaded vertices 0 Answers
Triangles on my mesh don't show 1 Answer