Rotate a mesh around it's center using quaternion

Just for the future - in C++ you can simply rotate by FQuats

const FQuat  curretnQuatRotation = FQuat(YOUR FRotator Rotation);
const FQuat CurRelRotQuat = FQuat(FRotator(DeltaPitch, DeltaYaw, DeltaRoll));
const FQuat NewRelRotQuat = CurRelRotQuat * curretnQuatRotation;

In blue print simple use Add Local Rotation function of the object.

1 Like