Modular Gun component dont fit and adapt when components change

Hi, I’m in the process of creating a game where the player can modify his weapon as he wishes by changing the stock, barrel, magazine etc… The problem I’m having is that when I change components, they have a defined place in the actor but don’t adapt to the breech, the main body of the weapon in other words. If I change the breech, my sight will float or be pushed into the breech mesh, for example. Do you know of a way for the mesh to fit perfectly and adapt to the breech? For information the breech is in contact with all the components but the other components are not in contact with each other, I don’t know if this is understandable.