- Home /

# Split single triangle mesh into 2 Equal Parts

I had made a script in which I am creating a square mesh using UV's and vertices and able to successfully split the square mesh in to 2 triangles into 2 right angle triangle .

But right now I want to split the right angle triangle again into 2 equal parts using same UV's and vertices concept .

can anyone help me how to split the triangle into 2 equal parts.

You could take the existing vertice positions of the right angle triangles, save those positions and just add an additional vertice position in the middle of the hypotenuse if your adjacent and opposites are equals for example and just create completely new triangles and delete the old ones.

@highpockets I am doing the same even then I am getting the right angle triangles only

Your question, to me, does not clearify enough what you're trying to accomplish. highpockets answer seemed pretty satisfying to me, considered the information that's been given.

If you split a right angled triangle that has equal side lengths a and b at half hypotenuse you'll end up with two smaller right angled triangles that are identical in shape. Is that not what you want?

### Your answer

### Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.

### Follow this Question

### Related Questions

Change color of mesh triangle based on Y position in world space 1 Answer

Runtime mesh generation 2 Answers

Ways of modificating mesh triangles 3 Answers

merge vertices at runtime? 1 Answer