playMaker

Author Topic: Anim Finish Event  (Read 3643 times)

artician

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 318
Anim Finish Event
« on: July 16, 2011, 10:57:57 PM »
From 1.1 Known Issues:
Quote
* Play Animation (https://hutonggames.fogbugz.com/default.asp?W19): Finish event sometimes doesn't fire with Default Wrap Mode (it seems the animation stops short of the end). Case 87  https://hutonggames.fogbugz.com/default.asp?87

Are we sure that it's only with Default Wrap?  I am getting an animation that appears to complete, but refuses to fire it's Finish Event when it does so, regardless of wrap mode.

Thanks for any suggestions.

carloz

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Anim Finish Event
« Reply #1 on: January 29, 2012, 04:21:59 AM »
hi all,

amfacing the same problem.. all animations are set to clamp forever ..
there is a think state which uses a random integer to fire up attack1, 2, 3
whenever any attack anim plays twice it refuses to fire the event.

also if i have a state which after finish calls itself ,that too only plays twice and freezes.

anyone know how to fix this or a way around?

thnx
carloz

oh, and im using unity 3.5 developer preview and playmaker 1.2.1 (24779)
« Last Edit: January 29, 2012, 04:24:03 AM by carloz »

netlander

  • Playmaker Newbie
  • *
  • Posts: 13
Re: Anim Finish Event
« Reply #2 on: January 29, 2012, 05:48:34 AM »
Guys,

Not 100% sure if this is related but I have started a thread here: http://hutonggames.com/playmakerforum/index.php?topic=1038.msg4301 which seem to be the manifestation of the same problem.

As the thread explains I have managed to add a Wait action after the stalling action to give it time to finish, then the FINISH event gets fired.

Hope this helps
Paul

carloz

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Anim Finish Event
« Reply #3 on: January 29, 2012, 07:54:22 AM »
hey netlaner,
thnx
yes its more or less the same kindof problem.. the wait solution does kindof fix it, but isnt a solution. all animations i use have different runtimes, so each would require a wait of the exact time..

does anyone else have any ideas plz ..

regards
carloz

netlander

  • Playmaker Newbie
  • *
  • Posts: 13
Re: Anim Finish Event
« Reply #4 on: January 29, 2012, 03:36:52 PM »
The solution I've found for an animation situation I came across was to use iTween actions.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Anim Finish Event
« Reply #5 on: January 30, 2012, 12:49:02 AM »
Hi,

 I think I went and solved this problem by animating the time so that I had full control over the playback, AND I can fire events and finish properly states because I have the time in hand. But it might be cumbersome to apply to all your animations...

 Bye,

 Jean

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Anim Finish Event
« Reply #6 on: February 29, 2012, 01:39:12 PM »
Animation finish events were tweaked in 1.3 to be more reliable. Has it fixed the problems you were seeing? If not, please use the new Submit Bug Report window to submit a bug. Thanks!