Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Change custom projectile accuracy to use Gaussian random instead of Uniform random #48

Open
Norazan opened this issue Feb 25, 2021 · 1 comment
Assignees

Comments

@Norazan
Copy link
Member

Norazan commented Feb 25, 2021

Gaussian random makes it so the projectile has a much higher chance of aiming at the target rather than to the sides (missing), regardless of the given angular diameter. Right now it uses a uniform random function which makes the sides (aka missing the target) just as likely as hitting the target. Gaussian just generally works nicer for mob projectile accuracy. NMS also uses gaussian for projectile aim.

@Norazan
Copy link
Member Author

Norazan commented Feb 25, 2021

I'll tackle this soon(tm), just making a note of it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant