Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: jz87 on May 11, 2011, 09:52:56 PM

Title: PlayAnimation finished event
Post by: jz87 on May 11, 2011, 09:52:56 PM
I have this problem where I have a box expansion animation that I would like to play in reverse. I set the play speed to -1, and set the state to transition to the next state on FINISH. The problem is the state is hitting finish at the start of the animation. Is it deciding the FINISH event based on absolute animation time without regard for play direction?
Title: Re: PlayAnimation finished event
Post by: jeanfabre on May 12, 2011, 01:31:15 AM
Hi,

 I found much easier to manually deal with the animation time. Some more info : http://hutonggames.com/playmakerforum/index.php?topic=169.0 (http://hutonggames.com/playmakerforum/index.php?topic=169.0)

 Bye,

 Jean
Title: Re: PlayAnimation finished event
Post by: jz87 on May 12, 2011, 11:41:17 PM
I was afraid of that. That is really annoying to have to do this manually. The nice thing about using Set animation time is that you can normalize your animation. So whether an animation is 10 seconds or half, I can use 0 and 1 to refer to the start/end and not worry about the details.
Title: Re: PlayAnimation finished event
Post by: jeanfabre on May 13, 2011, 01:26:38 AM
Exactly, so all in all, down the road as your project grows, you will likely find that controlling anims with time is needed.

 Bye,

 Jean