No, most torpedoes explode under the ship. The resulting pressure change breaks the ships hull.
Ok..cool..so doesn't have to come in contact....thanks !