Hello everyone!
I am trying to create an effect that creates geometry from script.
While generally, this seems to work, I am facing a problem:
As a reference mesh, I want to use geometry that I modeled in Blender.
Then, the mesh is supposed to be generated face by face.
This is how I get the triangles:
referenceMeshFX01.GetComponent<MeshFilter>().sharedMesh.triangles[i];
The problem is that the order is messed up. It will generate the mesh, but not in the right order.
Is there a way to change the order in Unity or Blender?
Or do I seriously have to check the order and type in values according to that manually?
This would be quite some work.
Many thanks for any ideas,
Greetings,
Shu