What is the difference between CFrame rotation constructers

Both CFrame.fromEulerAnglesXYZ and CFrame. Angles both construct a cframe with no translation, but what is the difference between them?

There isn’t really a difference,

CFrame.fromEulerAnglesXYZ and CFrame. Angles According to Documentation are the same thing
fromOrientation however follows another CFrame function which is CFrame.fromEulerAnglesYXZ

CFrame.Angles and CFrame.fromEulerAnglesXYZ follow the order of: Z, Y, X (X, Y, Z)
CFrame.fromEulerAnglesYXZ follows the Order of: Z, X, Y (Y, X, Z)

So that’s the order in which the engine calculates the angles?

1 Like


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.