How to determine hit collision

Hi, I have a pretty simple solution in mind but to know if it’s viable, I need to be sure that the gun is the only mean to destroy the meshes.