-
Notifications
You must be signed in to change notification settings - Fork 234
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
fix GetAngleInBetween parameter references #6525
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good find for my refactor messing up the mathematics, it should indeed be z1 * z1
and z2 * z2
.
I tested the changed math with my fixed Scathis and they make the fake barrels align with the aim barrel more accurately (when you view the wireframe skeletons).
Note: caused by #6438 |
Thanks, I can see your making the updates in 6528 for function call, once you merge that in I'll update this to match. |
Co-authored-by: lL1l1 <[email protected]>
Co-authored-by: lL1l1 <[email protected]>
…scripts to support this.
Co-authored-by: lL1l1 <[email protected]>
Description of the proposed changes
Fixes a small bug in the refactor of GetAngleInBetween. It was references indexes but the function that calls it is using named keys.
fixes #6524
p.s this needs someone smarter than me to validate I'm actually fixes this correctly as I'm unsure.
Testing done on the proposed changes
Tested to make sure the scathis does not error and shoots things.
Checklist