Trying to make a voxel block, but triangles keeps making the triangle wrong!

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Dragon20C

Hello I am so confused why it does this, I want it to make a plane yet it makes another triangle into another triangle, honestly MY HEAD IS GONNA EXPLODE!

here is a picture : Legobet88 🀄 Trustworthy Agen Situs Slot Online Bet88 Terpercaya Ter- Gacor Hari Ini 2024

in the code I am going 3,7,2 and then 2,7,6 that should make a flat plan yet it makes a messed up triangles.

here is the code if I did something wrong in the code please tell me!

code :Legobet88 🀄 Trustworthy Agen Situs Slot Online Bet88 Terpercaya Ter- Gacor Hari Ini 2024

:bust_in_silhouette: Reply From: Dragon20C

I used the wrong mesh type, I needed (Mesh.PRIMITIVE_TRIANGLES) and NOT Primitive_triangle_fan