Download

Relative rotation differs between c++ and details panel..

Hello L&G

I´m trying to set rotation of my camera using:



myCamera->SetRelativeRotation(FRotator(0.0f, -20.0f, 0.0f));


Once correctly compiled, on Details panel, after selecting the camera component, on Transformation it shows:

Rotation 0.0, 0.0, -20.0

looks like code and details panel are not matching the same coordinates…
I need to setup rotation via c++

Thanks in advance

Ok! my fault, i did not see the FRotator parameter list specifications, these parameters do not talk about X, Y, Z coordinates else the Pitch, Yaw and Roll ways…
I respond myself if someone else is having the same question.