Tank gun stabilization

I think this might clarify what I mean:
as “Base position” I mean turret position in editor:

[And this movie shows what happens when I try to move barrel up/down (camera is attached to socket in barrel)][2]