Hello. I am making a door which has multiple ClickDetectors in it. I'm having a problem where the ClickDetector that is in the body of the door (meant for knocking sounds) is overlapping with the ClickDetector that is in the knob of the door (meant for opening the door). This does not happen while testing in Roblox Studio. It only happens when trying to open the door ingame in first person (third person works). Is there a fix to this or is this a ROBLOX bug?
COMMUNITY QUESTION
ClickDetector hitbox expanding. Is it a bug or can it be fixed?
2 answers
It's probably because your door handle is a mesh and the size is bigger than you think it is. Try to size everything properly and make sure you code knows the difference between each click detector.
You can instead create transparent parts that contain the ClickDetector. This will allow for accurate position manipulation but will make the game a tiny bit laggier.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
I don't have any meshes, only parts and unions. The code works. The bug only appears in first person, when testing ingame. First person works in Roblox Studio testing mode. Also the problem is that when I try to open the door I knock instead, even though I am clearly clicking on the knob.