Rotating a Cube
Turn a cube with yaw, pitch, and roll, then push pitch to 90° to see two rotation axes line up.
What you are looking at
- Cube
- The body being rotated.
- Body-axis triad
- The three axes attached to the cube.
- Gimbal lock warning
- Two rotation axes have lined up.
Try this
- Drag sideways on the cube to change yaw, or drag vertically to change pitch.
- Set pitch near 90° or −90° to see the gimbal lock warning.
Key idea
At a pitch of ±90°, yaw and roll share an axis and one independent direction of rotation is lost.