Not entirely sure what you are trying to do here, but the attachment of the object you want to overlap, being attached to the other component seems odd. This is because as the player moves, the object you want to overlap will move with it. The same with if you rotate the camera, the attached collider will rotate, but it will still be attached to the capsule?