Search Unity

Building with bricks

Discussion in 'Editor & General Support' started by pixelthis, Aug 5, 2010.

  1. pixelthis

    pixelthis

    Joined:
    Nov 5, 2008
    Posts:
    120
    Hi all,

    In general terms, how would I go about this process (if it is even possible):

    • I have several prefabs (meshes) that you can basically think of as bricks in a wall (some are different shapes and sizes etc)
    • In code, I would like to stack several of these together in a line, then treat them as a single mesh and apply a texture to the whole lot.
    • If possible, I would still want the bricks to be separate objects so that I can later break the wall apart and move the bricks around.

    Any help appreciated.