Did you spray and pray? It's totally ineffective in BC2. Try burst firing or playing on a hardcore server I guess. Could've been lag or many other factors too, the hit detection in this game isn't THAT bad.
Playing: Subnautica Below Zero, Mass Effect Legendary, Resident Evil The Village
Watching: The Banishing, Bad Banks, Ted Lasso