Important:
Updates to Maya 2022 will continue to support both Python 2 and Python 3. However, it is recommended that you migrate your Python 2 scripts and plug-ins to Python 3.
Two new temporary classes have been added to the Maya API to replicate the behavior of jointOrient in a custom transform.
MPxTransformPreRotation
lets a user-defined transform supply a pre-rotation. This functionality will be added to MPxTransform
in a future release and MPxTransformPreRotation
will be removed from the API.
MPxTransformationMatrixPreRotation
lets a user-defined transformation matrix supply a pre-rotation. This functionality will be added to MPxTransformationMatrix
in a future release and MPxTransformationMatrixPreRotation
will be removed from the API.