minkmink
(minkmink)
#1
So, i’m trying to rotate a part (in theory and without cframing, rather simple)
but i’ve noticed that when i do
Mesh.CFrame = Mesh.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(90),0)
it always applies the rx value to z

i’m stumped, what am i doing wrong?
If you really wish to have it on X and Y you can do that with fromEulerAnglesYXZ
fix (i have tested it) :
Mesh.CFrame = Mesh.CFrame * CFrame.fromEulerAnglesYXZ(math.rad(90),math.rad(90),0)
2 Likes
minkmink
(minkmink)
#3
ah, thanks, i have no idea why it isn’t working with XYZ