Page 1 of 1

Collision

Posted: Fri Jul 24, 2020 19:10
by themagicalcats
As of lately when playing Minetest in my worlds, usually I get stuck on blocks while walking and jumping or just going right thru blocks, it's really getting annoying.

Re: Collision

Posted: Sat Jul 25, 2020 08:31
by Krock
Disable free_move (fly) or noclip while flying.

Which Minetest version, though? There were quite some changes from 5.2.0 to 5.3.0, hence using a newer version might already fix your issues.

Re: Collision

Posted: Sat Jul 25, 2020 19:42
by themagicalcats
Nothing to do with flying, and its the latest, its not noclip

Re: Collision

Posted: Sat Jul 25, 2020 19:44
by themagicalcats
latest aka 5.3.0

Re: Collision

Posted: Sat Jul 25, 2020 19:51
by Tcll
I know what he's going through, and it happens in both 5.2.0 and 0.4.16
basically, as you jump, walk, or place blocks, sometimes you'll fall through a block or place a block at your location (both feet and head)

this also happens with entities, which will get stuck inside the walls
for example the Item_drop mod will throw block entities as they're mined, and sometimes these entities will get stuck on the wall:
Image

Re: Collision

Posted: Sat Jul 25, 2020 21:34
by sorcerykid
This sounds like it might be related to the various collision fixes that were merged in 5.2. I can't remember if those were eventually reverted, but I do seem to recall a number of reported issues.

Re: Collision

Posted: Sat Jul 25, 2020 23:43
by themagicalcats
Version before 5.2 had this issue.

Re: Collision

Posted: Sun Jul 26, 2020 00:52
by sorcerykid
That's really fascinating, because I've been playing on a fork of 0.4.14 for several years and never experienced these anomalies with the original collision processing. I wonder what could have changed between 0.4.14 and 0.4.17.

Re: Collision

Posted: Sun Jul 26, 2020 09:19
by Termos
sorcerykid wrote:
Sat Jul 25, 2020 21:34
This sounds like it might be related to the various collision fixes that were merged in 5.2.
5.3 actually. In terms of collision detection 5.2 is identical to 0.4*

If there are any major problems with collision detection in 5.3 they may be related to --ffast-math compiler flag, be sure to disable it.

Re: Collision

Posted: Sun Jul 26, 2020 17:55
by themagicalcats
It all happens in each of those versions, doesn't matter which I can go thru blocks or just places blocks in myself.

Re: Collision

Posted: Sun Jul 26, 2020 18:36
by sorcerykid
I wonder if accuracy of collision detection can be affected by some other factor. I can't think of any other reason for why only some people would experience this behavior but not others.

Re: Collision

Posted: Sun Jul 26, 2020 18:41
by themagicalcats
Well, it does it on every device I own, so yeah, and plus vanilla gameplay same thing.

Re: Collision

Posted: Sun Jul 26, 2020 19:18
by rubenwardy
This has happened to me before when a mod sets the collisionbox of a player to nothing

Re: Collision

Posted: Thu Jul 30, 2020 14:47
by themagicalcats
Okay, so today, yes I noticed 5.3.0 has fixed the collision some more but one problem is still here, I'm able to place blocks in my same area, like for example I can place blocks within myself, is it possible that this can be fixed so you cannot place blocks within the player? Because whenever I play I always end up placing blocks in myself while towering up or just in general building.

Re: Collision

Posted: Thu Jul 30, 2020 15:12
by sorcerykid
I thought you said above on July 25 that the latest 5.3.0 build had the problem? Was a collision detection fix pushed in the past few days? I don't see anything relevant merged on GitHub.

Re: Collision

Posted: Thu Jul 30, 2020 15:16
by themagicalcats
Sorry, I got confused, my bad.

Re: Collision

Posted: Thu Jul 30, 2020 15:17
by themagicalcats
Either it did or didn't but it fixed itself????

Re: Collision

Posted: Thu Jul 30, 2020 15:17
by themagicalcats
If anything does happen again with collision, I'll ask about it, but one problem still stands.

Re: Collision

Posted: Thu Jul 30, 2020 16:05
by Termos
themagicalcats wrote:
Thu Jul 30, 2020 14:47
one problem is still here, I'm able to place blocks in my same area, like for example I can place blocks within myself
For the record, this problem isn't related to collision detection. When placed, blocks are just popped into existence in already occupied space. Probably a problem with the code that checks if a block is allowed to be placed.

Re: Collision

Posted: Sat Aug 01, 2020 19:38
by Skamiz Kazzarch
Might be worth checking in "all settings" > controls > enable_build_where_you_stand

Code: Select all

#    If enabled, you can place blocks at the position (feet + eye level) where you stand.
#    This is helpful when working with nodeboxes in small areas.

Re: Collision

Posted: Sat Aug 01, 2020 19:41
by Tcll
it's disabled for me but I can still build where I stand

Re: Collision

Posted: Sat Aug 01, 2020 19:42
by themagicalcats
Tried looking at the settings however, I could still build inside of myself either way building up, the setting you showed me doesn't help, but thanks anyway.

Re: Collision

Posted: Mon Aug 03, 2020 21:48
by PolySaken
Make sure you have noclip turned off as well, since that has the same effect as build_where_you_stand in regards to placing

Re: Collision

Posted: Mon Aug 03, 2020 22:03
by Tcll
PolySaken come on, of course we have noclip disabled
we're talking about actual collision issues
not some noob mistake
we're not 5yr-olds ;)
I think I more than make that obvious myself by hacking the b3d format XD

EDIT: btw, the reason cats posted about it is because it affects him worse than me
he's bothered by things like this because he does pvp, I'm more of a creative person and just deal with it
but yes, I do experience it normally as well when jumping or releasing Shift

I don't think you can experience that with noclip enabled because you can only noclip while flying ;)

EDIT2:
plus if I must, it was mentioned before here ;)
themagicalcats wrote:
Sat Jul 25, 2020 19:42
Nothing to do with flying, and its the latest, its not noclip