Depth might be your problem too..
If your torp is hitting the 'curved' bottom corner of the hull.. it's the same as a wide angle (horizontal) hit, but in the vertical.. you torp will not detonate.
This is modelled and I've seen it work (or not work!!), by following a torpedo to the target. Set your depth about a metre or two shallower than the ship draft.