How to get Actor Pitch and Yaw using C++

A lot easier than in Blueprints to be honest…

UActorPointer->SetActorRotation(FRotator(pitch, yaw, roll));

SetActorRotation can also use Quaternions, just use FQuat.