hi,

I'm trying to learn mesh generating in Godot... so far I know how to create simple shapes, but now trying something a bit more difficult. a subdiveded plane with different heights on certain faces...

this is what I am aiming for:

so I am using SurfaceTool to place vertices and I create planes according to my map array... this works as far as I want to just create a flat grid of planes.. but if I add a variable height on planes, they are all disconnected.

so.. my question is.. what is the best aproach here to achieve something like this? I have created an array of map tiles telling me which height the planes are in.. but I am not sure how should I use that information when generating vertices.

I come from 3d modelling background (blender) so moving faces up and down is easy, they are just glued together, so it works :) but how does one do this in game engines?

.b

@Megalomaniak: thanks! looks helpful.

6 days later

Let us know how it works out, would love to see what you come up with. :)

6 years later