playMaker

Author Topic: Merge Building blocks  (Read 271 times)

Zolomoz

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
Merge Building blocks
« on: February 21, 2019, 02:20:32 AM »
Hi there I'm Jeremy.
UFABET
It's not really related to Playmaker but programming in general. We have this system where you build, in our game, and to make it look nicer we would like to merge the building blocks. We have a basic system for it at the moment, but it compares if there is blocks next to it and then merges them. It can be seen in our trailer here.

We did a mock up in maya, which shows the way we would like the mesh to behave, but if we export seperate meshes and merge them it just seems like a lot of work. Is there a simpler way to do this kind of thing? Maybe it should be voxel based or something,
Thank in advance.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4014
    • View Profile
    • jinxtergames
Re: Merge Building blocks
« Reply #1 on: February 21, 2019, 08:09:21 AM »
Hi,
I have no experience yet with Merging meshes.
Maybe there are some assets on the asset store which can help.

megmaltese

  • Sr. Member
  • ****
  • Posts: 336
    • View Profile
Re: Merge Building blocks
« Reply #2 on: February 21, 2019, 08:53:07 AM »
You can export a whole scene in Unity and you can use each of the objects one by one, if they are separate.

krmko

  • Beta Group
  • Hero Member
  • *
  • Posts: 924
    • View Profile
    • Fat Pug Studio

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 691
    • View Profile
Re: Merge Building blocks
« Reply #4 on: March 01, 2019, 04:14:57 AM »
Mesh combining is not generally a trivial task. Therefore you will need an asset or this free github version: https://github.com/Whinarn/UnityMeshSimplifier

Not all mesh combining tools support runtime. You may need to experiment a little, as when you mesh combine items, you need to think about uv, uv lighting, lightmapping changes, etc. So there tends to need to be a little play to get it just right.

PS, you missed your trailer link.