Hi! I am adjusting rotation Y value inside Unreal Editor for the simple cube actor, and inside Editor I can see, say, value like 91;
But, if I call now
actor->GetActorRotation().Pitch
, I will see value of 89. It gets clamped.
Same goes, if I do:
actor->GetActorTransform().GetRotation().Euler().Y
How to actually get same value as I input it inside editor Transform component rotation fields? Only values between 0-90 are exact match