Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: marcos on February 03, 2012, 07:43:54 PM

Title: Loop function on Float Interpolate
Post by: marcos on February 03, 2012, 07:43:54 PM
Hey,

Wondering if it would be possible for a loop function to be added to Float Interpolate?

I'm trying to achieve a scrolling texture effect for water, but when i go about looping the FSM containing the interpolation (using events) there is a slight stutter. I could use easeInOut as a work around to mask the stutter, but it would be nice to maintain a linear flow of the animation. I feel that a loop function, that sets the float back to the initial interpolation value might solve this.

(I suppose half of this thread belongs in the help section  :P)

Title: Re: Loop function on Float Interpolate
Post by: jeanfabre on February 13, 2012, 01:53:55 AM
Hi,

Odd, as I tried to create a scene to do this, I realize that float interpolate seems to have a glitch or an odd behavior when trying to do exactly what you are after.

If I loop a state with a float Interpolate ( transition to another state, then transition back). The OnUpdate function of the float Interpolate is never called.


 Bye,

 Jean