During World War II, before radar was used on warships and submarines, the Allies used camouflage on their ships that left German warships and submarines confused, unable to tell the bow of a ship from its stern or even its direction of travel, which made aiming a missile or torpedo at it extremely difficult.
