World space

Also known as: global coordinates

On this page 7

World space is the single shared coordinate system of a 3D scene, the frame in which every object, light and virtual camera has one unambiguous position, rotation and scale. Among the 3D fundamentals of 3D graphics & animation, it is the common reference that lets separately modeled assets sit together, cast shadows on one another and be seen by the same camera.

Every vertex of a model is first stored in local space, relative to the object’s own pivot point. A model matrix then carries those coordinates into world space, also called global coordinates, where they can be compared, measured and lit consistently. Understanding this step is the key to reading transform values, fixing misplaced objects and exchanging scenes between applications.

How world space fits into the transformation pipeline

World space is the second stage of the coordinate pipeline that turns stored geometry into pixels. Each stage is reached by multiplying positions with a 4×4 homogeneous matrix, and the order of these matrices never changes.

The following table lists the main coordinate spaces in the order a vertex passes through them during rendering.

SpaceOrigin and axesReached byTypical use
Local spaceObject pivot pointStored in the meshModeling and editing vertices
World spaceScene originModel matrixPlacement, lighting, physics
View spaceCamera positionView matrixDepth sorting, fog
Clip spaceProjection volumeProjection matrixClipping against the frustum
Screen spaceImage cornerPerspective divide and viewportRasterization and pixels
Coordinate spaces in the rendering pipeline

In shader code the combined chain is often written as P * V * M * v, where the model matrix acts first. Engines frequently merge the view and projection steps, but the world position remains available on its own because lighting, shadows and reflections are usually computed there.

The model matrix and parent-child hierarchies

The model matrix converts local coordinates into world space by combining scale, rotation and translation, normally applied in that order. Changing the order changes the result: rotating after translating swings an object around the scene origin instead of around its own pivot.

When objects are nested in an object hierarchy, the world matrix of a child is the product of all parent matrices and its own local matrix. A wheel parented to a car therefore inherits the car’s motion, while its displayed transform values stay relative to the car body rather than to the scene.

This distinction explains why two values may appear for the same object. The table below separates the displayed transform values from those the renderer actually uses.

PropertyLocal valueWorld value
PositionOffset from parent pivotDistance from scene origin
RotationAngle relative to parentAccumulated orientation
ScaleFactor relative to parentProduct of all parent scales
Surface normalStored per vertexTransformed by inverse transpose
Local and world values of the same object

Normals need special treatment: when a model is scaled non-uniformly, they must be multiplied by the inverse transpose of the model matrix, otherwise shading in world space looks wrong.

Axis conventions and units across applications

World space is defined by an origin, three axes and a unit length, and applications disagree on all three. The most visible difference is the up axis: some tools treat Y as up, others treat Z as up, and the handedness of the system also varies.

The next table summarizes common conventions; exporters and importers convert between them, but the conversion must be checked when assets move between tools.

Application or formatUp axisHandednessDefault unit
BlenderZRight-handed1 meter
MayaYRight-handed1 centimeter
3ds MaxZRight-handed1 inch (configurable)
UnityYLeft-handed1 meter
Unreal EngineZLeft-handed1 centimeter
glTF 2.0YRight-handed1 meter
Typical world space conventions

A unit mismatch is a common source of trouble. A character modeled at 180 units in a centimeter-based tool can arrive 100 times too large in a meter-based engine, which breaks physics, light falloff and camera clipping planes.

Working in world space versus local space

Most applications let the artist choose the transform orientation used by move, rotate and scale tools. Choosing world space aligns the gizmo with the scene axes; choosing local space aligns it with the object’s own rotated axes.

The decision table below shows which reference frame suits frequent tasks.

TaskRecommended frameReason
Placing a building on flat groundWorld spaceGround plane matches world axes
Opening a rotated doorLocal spaceHinge follows the door’s axis
Aligning objects to a gridWorld spaceGrid is defined globally
Extruding a tilted faceNormal or localExtrusion follows the surface
Writing physics or AI logicWorld spaceAll agents share one frame
Choosing a reference frame for common tasks

Applying or freezing transforms bakes the current model matrix into the vertex data. The object then shows zero rotation and unit scale, while its geometry remains in the same world position, which simplifies later rigging and modifiers.

Precision limits and common mistakes

World coordinates are usually stored as 32-bit floating-point numbers, which offer about seven significant digits. Far from the origin the spacing between representable values grows, so at several kilometers vertices begin to jitter and shadows shimmer.

Large open worlds therefore use origin rebasing, which periodically shifts the scene so the camera stays near zero, or switch to double-precision coordinates. Other frequent problems are listed below.

  • Unapplied scale makes modifiers, bevels and physics behave inconsistently.
  • Mixed up axes after export rotate a model by 90 degrees.
  • Pivot far from the geometry places rotation centers in unexpected locations.
  • Confusing displayed and world values misleads scripts that read local positions.

The idea in brief

Imagine a large map of a theater stage with a marked center point. Every actor, chair and spotlight is described by its distance from that center. That shared map is world space.

Each prop also has its own small description, such as where its legs are relative to its seat. When the prop is placed on stage, those small descriptions are converted into positions on the big map. The shared map is what makes everything fit together, so the camera, the lights and the objects all agree on where things are.

A practical scenario

An environment artist builds a village for a real-time game. Houses, fences and trees are modeled separately in a Z-up application that works in meters, each with its pivot at the base. The game engine uses Y up and expects one unit to equal one centimeter.

On the first import every house is 100 times too small and lies on its side. The artist sets the exporter to convert axes and apply a scale factor of 100, then applies all transforms before export so each asset arrives with clean rotation and unit scale.

With the conventions matched, a 6-meter house stands at 600 units in world space, sunlight casts shadows in the correct direction, and the level designer can snap every asset to the world grid. The scene assembles correctly on the first try in each later iteration.