R
R
RikinD2017-05-27 01:01:32
3D
RikinD, 2017-05-27 01:01:32

How to merge generated objects in Unity?

I have a randomly generated maze that is created by building 4 walls and 1 floor in each cell. As a result, after generation, in the project I create a huge number of separate objects (4 walls and a floor), which eventually form the maze I need.
c1685e7018724f558e71327ee2d40cc3.png
The problem is this: after generation, I want all these objects to be combined into one, so that it would not be a labyrinth made of many particles, but one whole maze, is it possible to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Espleth, 2017-05-27
@RikinD

Yes, documentation: https://docs.unity3d.com/ScriptReference/Mesh.Comb...
And there are many assets like https://www.assetstore.unity3d.com/en/#!/content/8748

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question