Apologies if this isn’t the right place for it, but I have come across a rather strange bug in my game and I have absolutely no idea what is causing it.
As you can see in the video, I am able to walk through any item on my plot, despite everything having CanCollide set to true, and collision group set to Default.
Ores from droppers also fall through the ground, and I am able to walk through the bridge on my plot (although i didin’t show that in the video).
You can also see me demonstrate that the collision detection for placing items does not work, as I place 4 Nickel Droppers in the same place.
Here is a video of how it should work:
The Player’s collision group is set to “Player”, and the Player and Default collision group are collidable with each other. Ontop of this, I don’t fall through the floor - only some items are effected.
Its like Roblox just doesn’t even know they’re there, and I can’t for the life of me figure out why. I would’ve though it is something to do with the Building script, but the fact that I can walk through the bridge, which is a completely static object with no code acting upon it, leads me to believe there is another cause for the issue.
My running theory is that it’s something to do with the game’s ping - as you can see in the video it is over 1000ms.
If anyone has experienced something similar to this, or has any idea as to why it could be happening, please let me know, as I am stumped.
Thank you
Your ping could be bypassing some physics but, ima shoot my shot like im devin booker:
I’m assuming you’re using PhysicsService:
it could be some code somewhere where you set the defined group for the Player (or the model) to false (meaning dont collide) with other blocks or anything in workspace
1 Like
I did originially think that, but these are the only lines of code where collision is set using PhysicsService:
PhysicsService:CollisionGroupSetCollidable("Hitbox", "Player", false)
PhysicsService:CollisionGroupSetCollidable("Hitbox", "DroppedItem", false)
PhysicsService:CollisionGroupSetCollidable("Player", "DroppedItem", false)
PhysicsService:CollisionGroupSetCollidable("OverlapCollision", "Hitbox", true)
PhysicsService:CollisionGroupSetCollidable("OverlapCollision", "Default", false)
PhysicsService:CollisionGroupSetCollidable("DroppedItem", "DroppedItem", false)
PhysicsService:CollisionGroupSetCollidable("Default", "Player", true)
PhysicsService:CollisionGroupSetCollidable("Default", "Default", true)
As you can see, Player and Default can collide, and every part in the player’s character is set to Player
and every other static part in the map is set to Default
are the droppers (not the dropped items) collision group default? or something else?
Yes, in the video i printed the collision group of every part inside my plot, and they were all Default
Now it only happens sometimes which is extremely weird, I have a feeling it must be to do with the ping somehow.
1 Like