S
S
Sergei Abramov2020-07-06 11:08:26
Unity
Sergei Abramov, 2020-07-06 11:08:26

How is this mechanic implemented?

If someone remembers the Dungeon Keeper series of games:
4_2723.jpg

There you can dig the entire territory of the map to clear the area for the construction of rooms. Such a one-layer minecraft. Wall-cubes, unlike minecraft, are all uneven, crooked. What mechanics is implemented? The very first thing that comes to mind is that each cube of the wall is a separate object, which is matched along the curvature to the neighboring one, so that everything looks holistic. But maybe this is implemented in other ways, for example, through shaders? In which direction to look for information?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xmoonlight, 2020-07-06
@xmoonlight

I think it applies a tile-grid (matrix) of 2x2 or 4x4 repeating wave-deformations to any 3D object.

S
Sergey Sokolov, 2020-07-06
@sergiks

Not aware of the game: if you take a “crooked” cube, can you try to insert it in another place?
If not, then the option of some function of the coordinates, for example , Perlin noise , slightly distort the coordinate grid.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question