Smooth out Bee Queen turning
TelepathicGrunt opened this issue · 3 comments
It is currently stuttering when Bee Queen slowly rotated to look at player. Might be able to fix it…
Nope couldn’t fix it. If anyone wants to help, give a PR a shot and see if you can get it to be smoothed out!
Managed to get it this far:
2024-11-12_23-02-50.mp4
Note that the queen bee spins 10x faster than she did previously. I would rather not have done this, but there is no way to avoid this without messing with the renderer.
The issue is that Minecraft only gives entities 256 unique directions they can face, and the queen's turning speed was slow enough that the animation for her spin finished before the server could turn her far enough to hit a new unique direction. Fixing it completely and allowing you to drop below .5 turning speed would require modifying the client-side look code to force the spin to take long enough for the server to send the new movement packet.