Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Sjones on September 16, 2012, 11:34:25 AM

Title: itween float
Post by: Sjones on September 16, 2012, 11:34:25 AM
I am looking to get an iTween curve to a float, more specifically a float within a shader (was just going to pass the number on to a float and then that float to material float) but if there could be one specifically handeling floats within materials I think that might be better as it then can use the other parts of the itween such as finish event etc.
Title: Re: itween float
Post by: jeanfabre on September 17, 2012, 03:43:32 AM
hi,

 i am not sure i understand what you are after, can you precise? and i am sure we'll find a solution,

 bye,

jean
Title: Re: itween float
Post by: Sjones on September 17, 2012, 09:15:01 AM
I am after the itween ease in and ease out to apply to a float (instead of just a position using 3 floats) to then use the float in a material float, that is used to do some material animation

I could use the itween move to on a game object,
then use the get position of the object into a vector 3 and use a get vector3 xyz into a float
from that get the animated float value and pass that onto the material float
however this sounds way more expensive and complicated than it needs to be.