CCBlueX / LiquidBounce

A free mixin-based injection hacked client for Minecraft using the Fabric API
https://liquidbounce.net/
GNU General Public License v3.0
1.33k stars 453 forks source link

[FEATURE] Humanistic Rotation Behavior #3384

Open mems01 opened 2 weeks ago

mems01 commented 2 weeks ago

LiquidBounce Branch

Legacy

Describe your feature request.

A list of realistic rotation patterns that we need to either implement or improve:

Additional context

No response

EclipsesDev commented 2 weeks ago

maybe add aim point (head/body/leg)? current killaura just rotate to whenever it like, as long as it is inside the enemy hitbox 🐝

xkeksi commented 2 weeks ago

no, would result in flicks if no proper conditions

EclipsesDev commented 2 weeks ago

hmm

mems01 commented 2 weeks ago

maybe add aim point (head/body/leg)? current killaura just rotate to whenever it like, as long as it is inside the enemy hitbox 🐝

That’s also a good idea, since humans do not usually aim at feet for example. In case a rotation is not found, it will default to either the nearest point or the distance-based point. This however might only be a problem if you only aim at the feet, since if you are 3 blocks away from the enemy, you can only find an attackable point from the head down to the stomach.

xkeksi commented 2 weeks ago

humans never have a consistent aim point - keep that in mind (and no, randomization will still have patterns/points)

EclipsesDev commented 2 weeks ago

maybe add aim point (head/body/leg)? current killaura just rotate to whenever it like, as long as it is inside the enemy hitbox 🐝

That’s also a good idea, since humans do not usually aim at feet for example. In case a rotation is not found, it will default to either the nearest point or the distance-based point. This however might only be a problem if you only aim at the feet, since if you are 3 blocks away from the enemy, you can only find an attackable point from the head down to the stomach.

yes but that ig can use some sort of smart point mode or smth

mems01 commented 1 week ago

humans never have a consistent aim point - keep that in mind (and no, randomization will still have patterns/points)

I meant as in body point target options (Head to body to feet). Randomization should obviously have a more realistic spot change.

mems01 commented 1 week ago

Ticked both decent curve rotation task along with a new option “Slow down on rotation difference direction change”. I have seen a couple of the curve rotation previews. I could say it works well although I do need more clear footage. As for the randomized-spot-generated rotations, maybe it does not need further improvement, but I would also have to do a double check on this.