[Solved] Cliff remove request

Status
Not open for further replies.
Took me a while to dig up the old code I used. Anyway, it is done!

If you want the cliffs to be removed more intelligently you will need to guide me through or explain the desired logic. The current removal was done with the below, very simple, logic.
Code:
        terrain.simpleTransform( V -> {
            V.setGroundHeight(TerrainVertex.convertHeightWC3ToVertex(
                TerrainVertex.convertHeightVertexToWC3(V.getGroundHeight()) + 128f * V.getCliffLevel()));
            V.setCliffLevel(0);});
 

Attachments

Status
Not open for further replies.
Back
Top