2D Toolkit Forum
2D Toolkit => Support => Topic started by: rxmarcus 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
-
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.