Before World War II, anti-aircraft gunners had to score direct hits or perfectly timed bursts against fast-moving aircraft.