Hello Guest

Author Topic: SetFrame not working while animation is stopped  (Read 3392 times)

rxmarcus

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 24
    • View Profile
SetFrame not working while animation is stopped
« on: August 08, 2014, 08:34:58 am »
I found a post a few years old taht talked about not being able to set a frame on an animation unless the animation is stopped.  Supposedly that was fixed way back then, but I've just encountered the problem and was able to set my frame by calling Play on the animation, setting the frame, then calling Stop immediately.  Just wanted to bring this up in case it has some how become broken again?  Would be nice to be able to set frame while an animation is stopped.

thanks

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: SetFrame not working while animation is stopped
« Reply #1 on: August 10, 2014, 12:30:03 pm »
Set frame sets the individual frame - if you want to set the frame with some continuity, eg. playing an animation from that frame, you'll need to PlayFrom or PlayFromFrame instead. You should be able to call SetFrame but only when a clip exists, or a default clip is assigned. If you are having issues with that, create a repro and post in the private support forums please, and I'll investigate further.