AnimationPlayer - reset animation to frame zero
The stopAll() method says it stops all clips and resets time to t=0.
However, the time change doesn't reflect in the preview. It stops the animation but doesn't update the frame. So if you stop at frame 45 for example, it'll stay at this frame.
Can we have some alternative that will actually reset the animation to frame zero?
What I ended up doing was using calling playClipAt('name', 0) when the button is clicked and calling a DelayedCallBackEvent 0.1 seconds later with a pauseClip function.
By the way, Q&A chatbot suggest using the method pause(), but it doesn't exist in the documentation. The methods are actually pauseAll and pauseClip.
1
vote
