-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$"AnimationPlayer".stop(true) or stop(false) both just simply pause the animation without reset. #41838
Comments
Working on it |
Hello IlTrain, thank you for replying, what does "working on it" means here ? 1: Working on fixing this bug ? Which of the two ? Thanks IlTrain :D |
I'm trying to add a pause() method |
I've just added the pause() method, now I'm testing |
This is what I added: |
Wait...why would you add a pause (true) if pause actually work ? Pleased don't implement pause(true/false/require any arguments at all) Yes if you can implement resume that would be awesome too. There is one other crazy thing: |
This reverts commit 5b6eb93.
This reverts commit 27e034b.
Just in time, I was making the pr. Let me remove the boolean argument. |
Where can I download the next built that have pause()/resume()/and seek(arg) without the rubbish addiction true/false requirement ? And thank you very much for your quick reply :D |
I didn't add seek(arg) because of not breaking the compatibility, but if I don't go wrong the seek's second argument is optional |
I don't think that prevents you from shipping projects 🙂 Also, I have to remind you that we have a Code of Conduct. Please stay constructive. |
The AnimationPlayer not resetting on The refactor of stop/pause/play is discussed here: godotengine/godot-proposals#287 Closing, as the issue is already tracked. |
Animation_Learning.zip
Godot version:
Version 3.2.2
OS/device including version:
Windows 10
Issue description:
$"AnimationPlayer".stop(true) #Pause the animation.
$"AnimationPlayer".stop(false) #Pause the animation
Both pause the animation, none reset it back to starting position.
And why do this instead of a simple pause() and stop() ?
Steps to reproduce:
Minimum basic file attached to replicate issue.
The text was updated successfully, but these errors were encountered: