Definition: Yaw, pitch and roll are the three rotations of a body around its principal axes. Yaw is the rotation around the vertical axis, pitch is the rotation around the lateral axis, and roll is the rotation around the longitudinal axis. The terms come from aviation. Today they also describe the orientation of heads, headsets, tablets and controllers in AR and VR.
English: Yaw, Pitch, Roll
German: Gieren, Nicken, Rollen (Gier-, Nick- und Rollwinkel)
How It Works
Applied to a person's head:
| Axis | English | German | Movement |
|---|---|---|---|
| Vertical axis | Yaw | Gieren | Turn the head to the left or right ("no") |
| Lateral axis | Pitch | Nicken | Raise or lower the head ("yes") |
| Longitudinal axis | Roll | Rollen | Tilt the head toward the shoulder |
3DoF and 6DoF: A system that records only these three rotations works with three degrees of freedom (3DoF). Users can look around, but they cannot move in the scene. 6DoF tracking adds three translations: forward/back, left/right, up/down. Only then can you walk around a machine or bend down to a component. Inertial sensors (gyroscope, accelerometer) usually measure the rotations. For the position, you also need cameras or external systems, see Motion Tracking.
Euler angles and quaternions: Three angles are easy to understand, but they have a weakness: in some orientations, two axes align and one degree of freedom is lost (gimbal lock). For this reason, engines and standards such as OpenXR and glTF store rotations internally as quaternions and convert them to yaw, pitch and roll only for display. Important for data exchange: the order and the axis convention (which axis points up?) are different between CAD systems and engines.
Relevance in Mechanical Engineering
- Design review in VR: Head movements on all three axes must show in the image without delay. If not, users can feel unwell.
- Trade shows and sales: A 3DoF 360° view is sufficient for a virtual tour of a hall. If people must examine a machine from all sides, you need 6DoF.
- AR in service: The tablet or headset continuously determines its orientation, so that overlaid instructions stay on the correct component.
- CAD import: Incorrectly interpreted rotations cause models that lie on their side or are upside down.
Frequently Asked Questions (FAQ)
Is 3DoF sufficient for training?
For viewing 360-degree content, yes. For training with hands-on tasks at the machine, 6DoF is the standard today.
Why does my imported model lie on its side?
Usually because of different axis conventions: some systems use Z as the vertical axis, others use Y. You must convert the axis during export or import.
Related Topics
- Motion tracking – recording movement and orientation
- Sensors – gyroscope and accelerometer
- Optical tracking – position by camera
- Motion sickness – a result of tracking delay
- Virtual reality – a fully virtual environment
- VR controllers – input devices with their own orientation
Specifications: Khronos OpenXR · Khronos glTF
