title: Unreal c++ SetRelativeLocationAndRotation how to translate rotation values from editor to Rotator?
body: <p>ive been trying to attach some text render components to a box, having text showing at 4 sides. but i cant figure out how calculate the rotator.</p>
  
  <p>When i use my editor to correct the rotations it should be <code>(Pitch=90.000000,Yaw=0.000000,Roll=-90.000000)</code> so i tried putting the same values into the FRotator</p>
  
  <pre><code>textTop-&gt;SetRelativeLocationAndRotation(FVector(0.0f, 0.0f, 10.1f), FRotator(90.0f, 0.0f, -90.0f));
  </code></pre>
  
  <p>but now in the editor it shows <code>(Pitch=90.000000,Yaw=13.262696,Roll=-166.737289)</code></p>
  
  <p>Clearly i'm doing something wrong, and cant figure out what. please guide me on how to do this properly so my text can be displayed correctly</p>