Skip to content

Fix anim progress & speed #4245

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

Merged
merged 7 commits into from
Jul 15, 2025

Conversation

FileEX
Copy link
Contributor

@FileEX FileEX commented Jun 6, 2025

This PR fixes several behaviors related to animation progress and speed. It is a patch for #3923 and #3520.

The PR not only fixes synchronized animations but also unsynchronized ones on the client side. Previously, when teleporting to a ped with an animation, the animation progress and speed were not saved, causing animations to restart from the beginning. The same happened, for example, after reconnecting.

Now, animation progress and speed are cached and used during stream-in.

@FileEX FileEX changed the title Bugfix/anim sync fix Fix anim progress & speed Jun 6, 2025
@Fernando-A-Rocha
Copy link
Contributor

This is an awesome step in the right direction. Thank you 🤗

@kxndrick0
Copy link

3D sounds (playSound3D) are affected similarly — when a player teleports to another player or reconnects, the sound restarts instead of continuing from its previous position

@Dutchman101
Copy link
Member

Thanks, this will be tested in nightly channel.

@Dutchman101 Dutchman101 merged commit ad0d6bf into multitheftauto:master Jul 15, 2025
6 checks passed
MTABot pushed a commit that referenced this pull request Jul 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants