What you are looking for is Aim Offset using an Aim Space.
You’ll use Base Aim Rotation for Pitch and Yaw.
Base Aim Rotation