Version: Unity 6.5 Alpha (6000.5)
LanguageEnglish
  • C#

RotationOrder

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Extrinsic rotation order. Specifies in which order rotations around the principal axes (x, y and z) are to be applied.

Properties

Property Description
XYZExtrinsic rotation around the x axis, then around the y axis and finally around the z axis.
XZYExtrinsic rotation around the x axis, then around the z axis and finally around the y axis.
YXZExtrinsic rotation around the y axis, then around the x axis and finally around the z axis.
YZXExtrinsic rotation around the y axis, then around the z axis and finally around the x axis.
ZXYExtrinsic rotation around the z axis, then around the x axis and finally around the y axis.
ZYXExtrinsic rotation around the z axis, then around the y axis and finally around the x axis.
DefaultUnity default rotation order. Extrinsic Rotation around the z axis, then around the x axis and finally around the y axis.