Page 1 of 1

Edge slide bug

PostPosted: Wed Aug 03, 2016 18:06
by Zedicius
If you stand on the edge of a block and throw something along the edge, whatever is thrown will slide along it until the item either falls off, or slides far enough to get stuck on top of the block.

Is the bug reproducible? How can you reproduce the bug?
See here: https://www.youtube.com/watch?v=YUfSUpvTveE

What is your operating system?
Win 10

What is your version of Minetest?
0.4.14

What game do you use? (e.g. minetest_game, MiniTest, dwarves)
minetest_game, no mods

No debugging log to work with.

Re: Edge slide bug

PostPosted: Wed Aug 03, 2016 18:41
by KCoombes
Zedicius wrote:-snip-

No debugging log to work with.


it's in the bin folder....

Re: Edge slide bug

PostPosted: Wed Aug 03, 2016 18:54
by Zedicius
KCoombes wrote:
Zedicius wrote:-snip-

No debugging log to work with.


it's in the bin folder....


Yes, but seeing as there's no actual error, it seemed rather pointless to paste it.

Re: Edge slide bug

PostPosted: Thu Aug 04, 2016 14:48
by Krock
This bug is a side effect of making the dropped item code as fast as possible.
Currently there's one node check per second, for the middle of the item. This means it will detect air even when it still collides with another node on the edge. To solve this problem completely it would require up to four node checks per step, which would increase the lag.

Code refernce: https://github.com/minetest/minetest/bl ... y.lua#L163

Re: Edge slide bug

PostPosted: Thu Aug 11, 2016 14:26
by azekill_DIABLO
maybe reducing the item hitbox and making item hover default?

Re: Edge slide bug

PostPosted: Fri Aug 12, 2016 15:46
by Zedicius
Might be an option to use the center point and have the block fall further down. Some Items would clip through other nodes though.