Author Topic: Loop function on Float Interpolate  (Read 3958 times)


  • 1.2 Beta
  • Full Member
  • *
  • Posts: 199
Loop function on Float Interpolate
« on: February 03, 2012, 07:43:54 PM »

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)


  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Loop function on Float Interpolate
« Reply #1 on: February 13, 2012, 01:53:55 AM »

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.