Killer.Penguin Posted February 28, 2014 Posted February 28, 2014 Once I play an animation for the second time, I cannot reset and start playing it from the beginning. I have tried all of these below: mesh.setFrame(-1); mesh.setFrame(0.0f, 0, 0); mesh.clearFrame(); mesh.getFrame(); But nothing restart my animation back to its first frame... Am I missing something?
Killer.Penguin Posted February 28, 2014 Author Posted February 28, 2014 The only thing that worked was setTime(). But it said that I should only use it for, editor or something...
unclebob Posted March 3, 2014 Posted March 3, 2014 Hi! Sorry for late reply. It is totally ok to use setTime for rewindind purposes yet you will have old transformations for your bones. setFrame + setTime should do the trick.
Recommended Posts