playMaker

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

bkups2003

  • Playmaker Newbie
  • *
  • Posts: 49
    • View Profile
Mesh.CombineMeshes or CombineChildren[SOLVED]
« on: August 14, 2013, 09:21:53 AM »
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, 01:03:06 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14035
  • Official Playmaker Support
    • View Profile
Re: Mesh.CombineMeshes or CombineChildren
« Reply #1 on: August 16, 2013, 02: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
    • View Profile
Re: Mesh.CombineMeshes or CombineChildren
« Reply #2 on: August 16, 2013, 08: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.

megmaltese

  • Sr. Member
  • ****
  • Posts: 337
    • View Profile
Re: Mesh.CombineMeshes or CombineChildren[SOLVED]
« Reply #3 on: August 31, 2018, 06: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: 14035
  • Official Playmaker Support
    • View Profile
Re: Mesh.CombineMeshes or CombineChildren[SOLVED]
« Reply #4 on: September 02, 2018, 10:27:19 PM »
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

megmaltese

  • Sr. Member
  • ****
  • Posts: 337
    • View Profile
Re: Mesh.CombineMeshes or CombineChildren[SOLVED]
« Reply #5 on: September 05, 2018, 06: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: 14035
  • Official Playmaker Support
    • View Profile
Re: Mesh.CombineMeshes or CombineChildren[SOLVED]
« Reply #6 on: September 05, 2018, 09:59:39 AM »
Hi,

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

Bye,

 Jean

megmaltese

  • Sr. Member
  • ****
  • Posts: 337
    • View Profile
Re: Mesh.CombineMeshes or CombineChildren[SOLVED]
« Reply #7 on: September 05, 2018, 11:04:22 AM »
Duh ok, thank you Jean  :D