-
Notifications
You must be signed in to change notification settings - Fork 13
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
Lasers fired from turtles originate a block lower than they should when pitch is 180 #94
Comments
So this happens from pitch angles 61 to 180 due to this logic (specifically line 66): Plethora-Fabric/src/main/java/io/sc3/plethora/gameplay/modules/laser/LaserMethods.kt Lines 60 to 75 in 7e59a36
Seeing that condition you'd then expect that it's possible to launch the projectile a block above the turtle, but it's never reached due to Plethora-Fabric/src/main/java/io/sc3/plethora/util/Helpers.java Lines 25 to 48 in 7e59a36
working on a fix for it rn that better handles the laser placement |
Eve's suggestion is to perform a single-step raycast to find where the laser leaves the block, then add a little extra offset along the ray |
You probably don't need to ray trace - just project it ~0.7 blocks away from the middle of the turtle. |
Exactly what the title says
The text was updated successfully, but these errors were encountered: