Transforming a Rotator

Hey guys,

I have a Rotator with a pitch of 25 and I want to “rotate” it around a yaw of 90 so that the end result is a Roll of 25…

Like this:

FRotator(25.0f, 0.0f, 0.0f) * FRotator(0.0f, 90.0f, 0.0f) = FRotator(0.0f, 0.0f, 25.0f)

But instead I am getting a result of FRotator(25.0f, 90.0f, 0.0f)

Anyone know how to do that?

Thank you!

Can you show us the exact code or blueprints where you’re doing this?