playMaker

Author Topic: PlayAnimation finished event  (Read 3456 times)

jz87

  • Playmaker Newbie
  • *
  • Posts: 7
PlayAnimation finished event
« 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?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PlayAnimation finished event
« Reply #1 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

 Bye,

 Jean

jz87

  • Playmaker Newbie
  • *
  • Posts: 7
Re: PlayAnimation finished event
« Reply #2 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.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: PlayAnimation finished event
« Reply #3 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