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

Inconsistent placing of nodes against chute/filter output end #21

Open
Watilin opened this issue Oct 16, 2023 · 1 comment
Open

Inconsistent placing of nodes against chute/filter output end #21

Watilin opened this issue Oct 16, 2023 · 1 comment

Comments

@Watilin
Copy link

Watilin commented Oct 16, 2023

When you place a node against the output end of a chute or filter, the node might end up in an unexpected location depending on where exactly you were aiming.

case A

I'm aiming at the “ring” around the output end.
chute-green-aiming
The node ends up in the expected position.
chute-green-placed

case B

I'm aiming directly at the output end
chute-red-aiming
The node ends up one grid cell farther than expected.
chute-red-placed

Since i don’t know the details about node selection boxes yet, i have no idea if this issue is easy or hard to fix. Anyway, this is my report :)

@SmallJoker
Copy link
Member

SmallJoker commented Sep 22, 2024

This is because the shooting line's intersection point with the outlet nodebox lies in the adjacent air node. This behaviour does make sense for nodes of the size 1x1x2 (or similar) so that new nodes cannot be placed inside of it.
I believe this specific case needs addressing in the Minetest engine to add a certain tolerance for nodebox overlaps.

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

No branches or pull requests

2 participants