Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: drentek on December 11, 2012, 07:58:24 PM

Title: Change / New Mesh During Runtime
Post by: drentek on December 11, 2012, 07:58:24 PM
Hey All,

I am trying to set up a character generator & wondered if there is a function I could use.  I basically want to change a mesh (hair style) depending on what the user wants.

Thanks :)

Craig
Title: Re: Change / New Mesh During Runtime
Post by: kiriri on December 12, 2012, 02:24:01 AM
a mesh is a type of object too, which can be stored in an object variable.
Here:
http://hutonggames.com/playmakerforum/index.php?topic=2396.0
I describe how to setup such a variable. If you specify the type of an object variable, the get component action will get that type of component. If you don't get it I'll just make an example project, it doesn't take much time.
Title: Re: Change / New Mesh During Runtime
Post by: drentek on February 07, 2013, 09:33:34 PM
Hi Kiriri,

I don't quite get it. Not to worry. Thanks
Title: Re: Change / New Mesh During Runtime
Post by: jeanfabre on February 08, 2013, 01:29:45 AM
Hi,

 Here, I would even not touch the mesh itself, but rather have several gameObjects, one for each hair style ( or anything else), and simply witch. That of course only works for props, for the main character mesh, that could be a bit more tricky.

Bye,

 Jean