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

Trajectories raytraces wrong #962

leijurv opened this issue Feb 26, 2019 · 0 comments


Copy link

@leijurv leijurv commented Feb 26, 2019

In this screenshot, the arrow will hit the cactus immediately:
2019-02-26_11 19 35
In this screenshot, the arrow will go up and over it, missing it:
2019-02-26_11 19 32

But in this screenshot, the arrow will go up and over it, not hitting it, and land behind the cactus. The end point of the trajectory is incorrectly rendered in midair, at the point where the trajectory would fall behind that block. There's nothing special about that location, it's just where the player would lose sight of the arrow.
2019-02-26_11 19 30
This is because it raytraces from the player to the arrow. Perhaps it should instead raytrace from the previous arrow position to the next one?

@leijurv leijurv added Bug GUI labels Feb 26, 2019
@leijurv leijurv closed this Mar 2, 2019
@leijurv leijurv added this to the 4.6 milestone Mar 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.