Generate Procedural Mesh

Digging around even more just adds to my confusion. I see a custom mesh component and a procedural mesh component. The custom mesh at least has the ability to make an array of triangles and assign that array as the mesh. The procedural mesh has no such functionality. In fact I can find no docs on the procedural mesh component at all. However, the procedural mesh component seems to have a great deal more work put into it, such as info in its vertex struct that seem useful and apropos like normal, UV, tangent, color, etc. Alas, I can’t seem to make a variable of that struct. It’s just not an option. I can’t even promote the output of the makeProcMeshVertex function to a variable. What’s going on with that? And since I can’t make an array of the proc mesh vertices, I can’t define an array of triangles. I don’t even see a procMesh triangle struct. Only thing I can find that seems even close for the proc mesh comp is a CreateSection function, which instead of taking an array of procMeshTriangle structs, you have to use some completely different approach using arrays of vertices, integers, etc. If I could at least find any sort of documentation, I could try and work something out, but as it stands now it’s just a brick wall.

So, why the two different components that seem to do the same thing, both of which seem only partially implemented in wildly different ways and poorly documented, if at all. Is this a WIP that I stumbled upon by accident? Or is this an accidentally exposed functionality that really should not be seen let alone used by non-programmers. It feels as if someone started on making a way to create procedural meshes via blueprint only to give up or get sidetracked after barely getting started. It’s very frustrating to find what looks like the solution I’m looking for only to discover it doesn’t seem to work properly if at all and have absolutely no documentation on it.

I’m just trying to find a viable way to taking the amazing work that is doing and make it into a more functional base for an actual game. The approach I have taken so far, making the tile meshes by hand, just does not seem viable for the long term if we want to be able to do anything like add rivers, canyons, deformable terrain, evolving climates, etc. Is the take away from this just that I have to suck it up and learn C++?

J^2