6DoF

Also known as: Six degrees of freedom

On this page 7

6DoF (six degrees of freedom) describes tracking that measures both where an object is in space and how it is oriented: three translations along the x, y and z axes and three rotations around them. In XR tracking and interaction, 6DoF means that a headset or controller follows the user’s head and hands as they move, lean, crouch and turn, so the virtual world responds exactly as the real one would.

The term is used in contrast with 3DoF, which tracks rotation only. That difference decides whether a user can physically walk around a virtual object or can merely look around from a fixed point, and it is one of the most important capability lines in extended reality.

The six degrees of freedom explained

A rigid body in three-dimensional space can change its state in exactly six independent ways. Three are translations, meaning movement along an axis, and three are rotations, meaning turning around an axis. Together they form the pose of the object, which XR systems update many times per second.

Degree of freedomKindAxisExample head movement
SurgeTranslationForward and backLeaning toward a virtual screen
SwayTranslationLeft and rightStepping sideways
HeaveTranslationUp and downCrouching or standing up
YawRotationAround the vertical axisTurning the head to look sideways
PitchRotationAround the side-to-side axisNodding or looking down
RollRotationAround the front-to-back axisTilting the head toward a shoulder
The six degrees of freedom in XR

In software, the pose is usually stored as a position vector plus a quaternion for orientation. Quaternions avoid the gimbal lock problem of Euler angles and interpolate smoothly, which is why XR runtimes such as OpenXR expose poses in this form.

How 6DoF tracking is achieved

Rotation alone can be measured with an inertial measurement unit (IMU), whose gyroscopes respond within microseconds. Position is harder, because integrating accelerometer data twice causes drift that grows within seconds. Therefore 6DoF systems combine the IMU with an external reference, usually optical.

The combination is handled by sensor fusion, typically a Kalman-type filter that blends fast but drifting inertial data with slower but absolute optical measurements. The IMU runs at several hundred to about a thousand samples per second, while cameras deliver corrections at tens of frames per second.

ApproachHow position is foundStrengthsLimitations
Inside-out camera trackingHeadset cameras track room features with SLAMNo external hardware, portableNeeds light and visual texture
Outside-in optical trackingExternal cameras or base stations observe the deviceHigh precision, stable volumeSetup effort, fixed play area
Laser base stationsSensors on the device time sweeping laser beamsSub-millimeter precisionExtra hardware and line of sight
Controller LED trackingHeadset cameras see infrared LEDs on controllersGood hand tracking at low costFails when controllers leave camera view
Main approaches to 6DoF tracking

Inside-out tracking relies on simultaneous localization and mapping (SLAM), in which the headset builds a map of visual features and locates itself within that map at the same time. It is now the default on standalone headsets.

6DoF compared with 3DoF

The practical gap between 3DoF and 6DoF is larger than the numbers suggest. A 3DoF device ignores small head translations that people make constantly, and this mismatch between visual and vestibular cues is a known contributor to discomfort.

Property3DoF6DoF
Tracked movementRotation onlyRotation and position
Walking around objectsNot possiblePossible within the tracked area
Typical sensorsIMU onlyIMU plus cameras or base stations
Typical content360-degree video, simple viewersGames, training, design review
ComfortLower when users lean or moveHigher when latency is low
Cost and powerLowHigher computing and sensor load
3DoF and 6DoF tracking compared

Some systems mix the two. A 6DoF headset with 3DoF controllers was common in early mobile VR, and some smart glasses still track only rotation to save power and weight.

Accuracy, latency and practical parameters

Good 6DoF tracking is judged by accuracy, jitter, latency and robustness. Users notice jitter of even a fraction of a millimeter on nearby virtual objects, while slow drift over larger distances is less obvious.

ParameterTypical targetWhy it matters
Positional jitterBelow about 1 mm at restVirtual objects look solid
Motion-to-photon latencyBelow about 20 msImage stays fixed in space
IMU sampling rateAbout 500-1,000 HzCaptures fast head turns
Tracking volumeRoom scale, several meters per sideFreedom of movement
Typical quality targets for 6DoF tracking

Latency is reduced further by pose prediction, which estimates where the head will be when the frame reaches the display, and by late-stage reprojection, which shifts the finished image to the newest pose just before it is shown.

Limitations and common problems

6DoF tracking is mature but depends heavily on the environment. Most problems users report trace back to lighting, room texture or occlusion rather than to faulty hardware.

  • Dark rooms or direct sunlight degrade camera-based tracking; even, moderate lighting works best.
  • Blank walls, mirrors and glass offer few or misleading features, so the headset may lose its position.
  • Controllers held behind the back leave the camera view, and their position is only estimated from inertial data.
  • Moving vehicles confuse tracking, because the IMU feels motion that the cameras do not see.
  • Mapping data privacy deserves attention, because SLAM stores a geometric model of the user’s room.

Put simply

Imagine standing in a room. The body can move in three ways: forward and back, left and right, up and down. The head can also turn in three ways: looking sideways, nodding and tilting. Those six movements are the six degrees of freedom.

A headset with 6DoF notices all six. When the user steps closer to a virtual table, the table gets bigger; when the user crouches, it is possible to look under it. A 3DoF device only notices turning, so the world moves along with the user like a painted backdrop.

In practice

An automotive design studio reviews a new car interior in VR. Designers wear 6DoF headsets with inside-out tracking and use 6DoF controllers in a cleared area of about four by four meters.

Because position is tracked, a designer can lean into the virtual driver seat, look under the dashboard and step back to judge proportions, just as with a physical clay model. The team notices that a cup holder blocks the view of a control panel from the passenger side, a problem that would be hard to see on a monitor.

Early in the project, tracking was unstable near a large window; closing the blinds and adding a few posters to a blank wall gave the cameras enough features and solved it.