Im using “CFrame.new(0, -0.2, -0.3) * CFrame.Angles(math.rad(0), math.rad(-180), math.rad(0))” and it turns the rotation values into positives, so it sets the orientation to 0, 180, 0. This issint a problem here but it is when i set the orientation of soemthing to -20, 180, 0 because it makes it 20, 180, 0
The likely reason for this is because Orientation represents the rotation in YXZ order. From the Angles documentation, it’s equivalent to fromEulerAnglesXYZ, so the ordering is different. (20, 180, 0) in YXZ order is the same as (-20, 180, 0) in XYZ order.
If you want the code to be consistent with what you’d see in the editor, you should probably use fromOrientation instead of Angles. Otherwise, just know that the rotation will be correct but the individual values may differ.