You can set it up using relative rotation and world location if the turret is a component in the tank’s BP like this:
Or using just world rotation like this: