This was called deflection gun-laying, 'off-set' angles for range and elevation were set on the gunsight and updated as their target moved.
What was updated on the gunsight as a target moved?
'off-set' angles for range and elevation