Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: peaks on November 01, 2013, 10:03:22 AM

Title: fade material colors
Post by: peaks on November 01, 2013, 10:03:22 AM
hey everyone!

I watched the playmaker tutorial for the color-change, works perfect. But I'm searching for an solution to fade the material colors.

cube1 collide with cube2 -> after 2 sec cube2's material-color faded from color1 to color2.

any solution?
Title: Re: fade material colors
Post by: Yanifska on November 01, 2013, 06:54:51 PM
Hi,
you should check iTweenFadeTo action it has a color component, I never used it though....Hope it can help you
Title: Re: fade material colors
Post by: jeanfabre on November 04, 2013, 01:38:24 AM
Hi,

 HOTween lets you tween FsmColors:

http://hutonggames.com/playmakerforum/index.php?topic=2299.msg10104#msg10104

also, I created recently a HSV color set of actions, you may actually prefer fading between two colors using HSV values instead of rgb.

https://hutonggames.fogbugz.com/default.asp?W1145

bye,

 Jean