-
-
Notifications
You must be signed in to change notification settings - Fork 882
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
Aim for //hpos{1,2} is off when you're tiny (scale base 0.1) #2642
Comments
What's the use case of doing this? This is probably non-trivial for us to support, as we do our own ray tracing for hit detection. |
It allows me to stand inside the quarter block gap of the stairs block that protects players from the cave spiders, at the inner edge almost falling into the spider pit. From there, I can easily aim at relevant points inside the pit, of which most would be obstructed when I'm standing in front of the stairs block. |
I don't quite understand what you mean, you seem to be referring to something you've built but I don't know what that looks like. It sounds like something survival-related, which we don't particularly care about? |
In that scenario I was in creative mode building a spider trap. |
Why not just teleport inside with /thru? |
Actually, I didn't try, because I had no intent of entering the chamber. It might have been that easy. I'll try later. |
If you meant to reset the scale to 1.0 before every It seems to be a general bug about assuming the eye position from player position without consideration of body shape. The effects are the same whether I'm tiny, or normal-sized but "swimming" in a 1-high space below a trap door:
If it's the same problem, we should probably change the bug to be about the swimming because that's a more common scenario. Bonus: If I'm a giant (scale 3.0), //hpos{1,2} aims at the floor in front of the wool blocks rather than the red wool block. |
Yes, we assume that because otherwise we would need to wire API to expose such a thing from the platform, and also track that. I don't think we really have a huge desire to implement this, as it would be very time-consuming for little benefit to most players. You or anyone else who wants it is welcome to take a shot at implementing it and contribute back. |
I have another patch pending for {,h}pos{1,2} that was deemed to small for a PR, so I'll try and use this opportunity. |
No progress yet, but another use case: I'm in the middle of a sandwich with alternating layers of top slabs and air blocks. I'm trying to aim at the opposite corners of the floor, but all I manage to select with //hpos{1,2} are some of the top slabs above me. |
WorldEdit Version
7.3.6
Platform Version
fabric-0.16.5
Confirmations
Bug Description
When I'm tiny (
/attribute @s minecraft:generic.scale base set 0.1
) and issue the command//hpos1
or//hpos2
, it selects the wrong block, usually 1 to 3 blocks above what my crosshair points to.Expected Behavior
It selects the block that my crosshair points to.
Reproduction Steps
/attribute @s minecraft:generic.scale base set 0.1
//hpos1
,//hpos2
— both show wrong coordinates but usually I wouln't notice//set red
— replaces wrong blockAnything Else?
No response
The text was updated successfully, but these errors were encountered: