cabaletta / baritone

google maps for block game
GNU Lesser General Public License v3.0
7.26k stars 1.45k forks source link

Interpolated Looking implementation #4505

Open TheThouZands opened 1 month ago

TheThouZands commented 1 month ago

Replaced old, in many cases not working "smoothlook" with "interpolatedLook", which forces global player rotation in both axis to follow a "path" from source looking position(rotation) to target, removing jittering when, for instance, mining blocks; it WILL hinder baritone's default mining speed, but the main purpose is to make actions seem slightly more humanly possible, time of the interpolation is controlled by interpolatedLookLength, in ticks.

TheThouZands commented 1 month ago

https://github.com/user-attachments/assets/26937d72-5cdc-42a6-aefb-c4f46492a7b9

"showcase" video