Edge slide bug

Zedicius
New member
 
Posts: 6
Joined: Thu Jul 28, 2016 06:12
GitHub: Zedicius
IRC: Zedicius
In-game: Zedicius

Edge slide bug

by Zedicius » Wed Aug 03, 2016 18:06

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.
 

KCoombes
Member
 
Posts: 278
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt or Rudilyn

Re: Edge slide bug

by KCoombes » Wed Aug 03, 2016 18:41

Zedicius wrote:-snip-

No debugging log to work with.


it's in the bin folder....
 

Zedicius
New member
 
Posts: 6
Joined: Thu Jul 28, 2016 06:12
GitHub: Zedicius
IRC: Zedicius
In-game: Zedicius

Re: Edge slide bug

by Zedicius » Wed Aug 03, 2016 18:54

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.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Edge slide bug

by Krock » Thu Aug 04, 2016 14:48

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
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: Edge slide bug

by azekill_DIABLO » Thu Aug 11, 2016 14:26

maybe reducing the item hitbox and making item hover default?
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

Zedicius
New member
 
Posts: 6
Joined: Thu Jul 28, 2016 06:12
GitHub: Zedicius
IRC: Zedicius
In-game: Zedicius

Re: Edge slide bug

by Zedicius » Fri Aug 12, 2016 15:46

Might be an option to use the center point and have the block fall further down. Some Items would clip through other nodes though.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 20 guests

cron