playMaker

Author Topic: Merge Building blocks  (Read 2264 times)

Zolomoz

  • Playmaker Newbie
  • *
  • Posts: 1
Merge Building blocks
« on: February 21, 2019, 04: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: 7616
    • jinxtergames
Re: Merge Building blocks
« Reply #1 on: February 21, 2019, 10:09:21 AM »
Hi,
I have no experience yet with Merging meshes.
Maybe there are some assets on the asset store which can help.

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Merge Building blocks
« Reply #2 on: February 21, 2019, 10: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.

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Available for Playmaker work

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: Merge Building blocks
« Reply #4 on: March 01, 2019, 06: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.