Download

Adjusting Vertex Height In Realtime

I feel like this should be the simplest thing ever but I haven’t found a solution yet. I’m trying to create a basic map editor like the old Age of Empires games had.

[video]https://youtu.be/NjrKHhGpTrg?t=31[/video]

I want to be able to move vertices on the ground mesh up or down a certain amount when clicked on (and also be able to paint terrain). I could do it with individual tiles but that would be a lot heavier on performance.

I’ve thought about morph targeting and world offset materials, but I don’t know how to access the vertices.

Am I coming at this from the wrong angle? I’d really appreciate any thoughts.

you could try doing something like this - https://www.youtube.com/watch?v=pPKPSV5fiDc