This item is not replicated across Roblox’s server/client boundary.
The Orientation property describes the part’s rotation in degrees around the X, Y and Z axes using a Vector3. The rotations are applied in Y → X → Z order. This differs from proper Euler angles, and is instead Tait–Bryan angles which describe yaw, pitch and roll. It is also worth noting how this property differs from the
CFrame.Angles() constructor, which applies rotations in a different order (Z → Y → X). For better control over the rotation of a part, it is recommended that
/BasePart/CFrame is set instead.
When setting this property any
Motor6D|Motor6Ds connected to this part will have the matching
JointInstance/C1|C1 property updated and to allow the part to move relative to any other parts it is joined to.
WeldConstraints will also be temporarily disabled and re-enabled during the move.
This code sample rotates a part continually on the Y axis.