Part rotating in the wrong direction (CFrame.fromEulerAnglesXYZ)

Hi! I’ve got a problem by rotating a part.
I want to rotate a part on its X Orientation. But somehow its changing the Z value.

{CFrame = CFrame.new(xcyrcle, ycyrcle, zcyrcle)* CFrame.fromEulerAnglesXYZ(math.rad(60), math.rad(90),0)}

What I have tried so far is putting the X value in the Z and changing the constructors to CFrame.Angles, etc
without success.
I’m new to scripting so I don’t know what mistake I have done here.
Can somebody please help me? Thanks.

1 Like

The Orientation is an approximation on the angle, which is also simplified. The two angles are the same though. Is there some reason you need the X value to change? If the angle is wrong then I would wager the issue is not with the Orientation field, but rather with the angles you’ve chosen.

1 Like