-
-
Notifications
You must be signed in to change notification settings - Fork 21.2k
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.advance()
doesn't advance audio
#48982
Comments
Very new to Godot's source but trying to get started and sharing my observations. I think the relevant code (master) is here: godot/scene/animation/animation_player.cpp Lines 611 to 712 in db028ac
I noticed that when you call If you put another audio file on the same track and call The size of the I noticed that the value of As a test, by doing something like
it will correctly jump to the right audio position, as It feels to me |
One thing I've tried to do is adding a
and setting it to true when calling
then passing it to
and consequently also to
In the if statement inside the
That's similar to how |
AnimationPlayer.advance()
doesn't advance audio
Godot version:
v3.3.1.stable.official
OS/device including version:
OS: Arch Linux (I don't know how to provide a version for this)
Issue description:
I have an
AnimationPlayer
with multiple tracks. One of them is an audio playback track. When I call theadvance()
method, I expect the audio to jump ahead. It doesn't do that.Workaround
Call
AudioStreamPlayer.seek()
after callingAnimationPlayer.advance()
.Steps to reproduce:
Minimal reproduction project:
animation_player_does_not_advance_audio.zip
The text was updated successfully, but these errors were encountered: