UKismetMathLibrary::ComposeRotators

Combine 2 rotations to give you the resulting rotation of first applying A, then B.