Calculate the size of difference in direction

Try getting forward vector from the resulting rotator.

Keep in mind that a vector will only count for 1 of the 3 dimensions. So if all you are after is a direction then the +/-90 pitch or any other conversion to avoid gimbal lock shouldn’t matter.