Skip to content
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

Lagging offhand animation (+fix) #241

Open
ZsoltMolnarrr opened this issue Jun 5, 2017 · 0 comments
Open

Lagging offhand animation (+fix) #241

ZsoltMolnarrr opened this issue Jun 5, 2017 · 0 comments

Comments

@ZsoltMolnarrr
Copy link

Hello

The offhand animations (offhand weapon strike, shield bashing) are looking like they are played on a lower framerate.
Why this happens is, simply because the animation code relies on render tick without taking render partial tick time in consideration.

On my BattleGear fork project I have made a simple fix for this problem. Altough my fork is based on an older version (for Minecraft 1.7.10), you can still use the idea behind the solution. Here is all you need:
https://github.com/ZsoltMolnarrr/ClassesOfWarcraft/commit/e67612db3a45db96c4767e6b2aeb265e33ba9b7f

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

No branches or pull requests

1 participant