Skip to content
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

Invalid z-coordinate calculation #169

Open
mystexodus opened this issue Jan 10, 2015 · 1 comment
Open

Invalid z-coordinate calculation #169

mystexodus opened this issue Jan 10, 2015 · 1 comment
Labels

Comments

@mystexodus
Copy link
Contributor

                    result.CastPosition = input.RangeCheckFrom +
                                          input.Range *
                                          (result.UnitPosition - input.RangeCheckFrom).To2D().Normalized().To3D();

This code (in Prediction) multiples the z coordinate by input.Range given invalid values.

@h3h3 h3h3 added the bug label Jan 20, 2015
@ghost
Copy link

ghost commented Jan 19, 2016

:jajaja:

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

No branches or pull requests

2 participants