playMaker

Author Topic: Mesh.CombineMeshes or CombineChildren[SOLVED]  (Read 7247 times)

bkups2003

  • Playmaker Newbie
  • *
  • Posts: 49
Mesh.CombineMeshes or CombineChildren[SOLVED]
« on: August 14, 2013, 12:21:53 PM »
Hi,

I've been searching for an action to combine many tiled meshes that share the same material together to reduce draw calls. Does anyone have a custom action like this?
« Last Edit: August 19, 2013, 04:03:06 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Mesh.CombineMeshes or CombineChildren
« Reply #1 on: August 16, 2013, 05:07:40 AM »
Hi,

 For this you should look for a propery system, and not do it yourself. There are many systems on the asset store , free and paid. For example:

http://u3d.as/content/unluck-software/simple-mesh-combine/4Eq

 there are lots of other similar stuff as well.

bye,

Jean


bkups2003

  • Playmaker Newbie
  • *
  • Posts: 49
Re: Mesh.CombineMeshes or CombineChildren
« Reply #2 on: August 16, 2013, 11:46:45 PM »
I took the CombineChildren script from Standard Assets (i didn't realise it was a part of standard assets before) and used the Add Component action. Took all the pieces and threw them into 1 draw call.

Thanks for the help.

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Mesh.CombineMeshes or CombineChildren[SOLVED]
« Reply #3 on: August 31, 2018, 09:17:38 PM »
Is it possible to have a CombineChildren action in Playmaker?
It would be very useful! (for me at least  ;D)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Mesh.CombineMeshes or CombineChildren[SOLVED]
« Reply #4 on: September 03, 2018, 01:27:19 AM »
Hi,

 Is it not possible for you to do like bkups2003 and use the standard CombineChildren component? Usually combining is done as soon as possible and so I am not sure you need this in an action.

 could you explain your use case?

 Bye,

 Jean

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Mesh.CombineMeshes or CombineChildren[SOLVED]
« Reply #5 on: September 05, 2018, 09:01:51 AM »
You are right, I want to call this at the start of maps.
I can't find this component though.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Mesh.CombineMeshes or CombineChildren[SOLVED]
« Reply #6 on: September 05, 2018, 12:59:39 PM »
Hi,

 you need import the standard assets, it's in there.

Bye,

 Jean

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Mesh.CombineMeshes or CombineChildren[SOLVED]
« Reply #7 on: September 05, 2018, 02:04:22 PM »
Duh ok, thank you Jean  :D