Make Rot From ZX

Hi,
I can’t find any information about what would be C++ quivalent of Make Rot From ZX. Could anyone help me? :frowning:

Hey metalowy-

The MakeRotFromZX function is defined inside KismetMathLibrary.h - You should be able to use KismetMathLibrary::MakeRotFromZX(const FVector& Z, const FVector& X) to preform the same action as using the blueprint node.

Cheers

The function the poster mentions relies on the FRotationMatrix::MakeFromXZ function.