Local space, also called object space, is the coordinate system attached to a single object, in which the positions of its vertices, normals and other attributes are expressed relative to the object’s own origin and axes rather than to the scene. In 3D graphics & animation, it is the first of several coordinate spaces a vertex passes through on its way to the screen, and it is the space in which modeling, rigging and most deformations are authored.
Because every object carries its own frame of reference, the same mesh data can be placed, rotated and scaled anywhere without rewriting its vertices. That separation between geometry and placement is one of the core 3D fundamentals, and it explains why a character can be duplicated a hundred times while its mesh is stored only once.
How local space anchors geometry to an object
Local space defines a mesh in terms of an origin point and three orthogonal axes that belong to the object itself. A vertex stored as (0, 1.8, 0) in a character’s local space means 1.8 units above the character’s origin, wherever that character stands in the scene. The values do not change when the object moves; only the transform that maps them into the scene changes.
The local origin usually coincides with the object’s pivot point, and the local axes follow the object’s rotation. When an artist rotates a door by 90 degrees, its local X axis rotates with it, so a command such as “move along local X” still slides the door along its own width. This behavior makes local space the natural frame for object-relative operations such as extruding along a normal, scaling a limb or animating a wheel around its axle.
Mathematically, local space is linked to its parent by a 4×4 transformation matrix that combines translation, rotation and scale. Multiplying a local-space position by this model matrix yields its world-space position. The inverse matrix performs the opposite conversion, which is how tools find where a world-space click lands on a mesh.
Local space in the coordinate pipeline
Local space is the starting point of the vertex transformation chain used by real-time engines and offline renderers alike. Each later stage is reached by one matrix multiplication, and the vertex shader typically concatenates them into a single model-view-projection matrix for efficiency. The table below lists the spaces in order and what each one represents.
| Space | Origin | Reached by | Typical use |
|---|---|---|---|
| Local space | Object pivot | Stored mesh data | Modeling, skinning, deformers |
| World space | Scene origin | Model matrix | Placement, physics, lighting |
| View space | Virtual camera | View matrix | Depth sorting, fog, culling |
| Clip space | Camera frustum | Projection matrix | Clipping against the frustum |
| Screen space | Viewport corner | Perspective divide and viewport map | Rasterization, post effects |
In a scene with an object hierarchy, a child’s local space is defined relative to its parent rather than to the world. A hand is expressed in the forearm’s space, the forearm in the upper arm’s space, and so on. The full world transform of the hand is the product of every matrix up the chain, which is why moving a parent carries all its children along.
How local space differs from related coordinate frames
Local space is often confused with neighboring concepts because several of them share the same origin or axes. The distinctions matter in practice: choosing the wrong frame in a tool or a shader produces rotations around the wrong axis or textures that slide across a moving surface. The comparison below separates the frames that artists and developers meet most often.
| Frame | Defined relative to | Changes when the object moves | Common confusion |
|---|---|---|---|
| Local space | The object’s own pivot and axes | No | Assumed to equal world space after freezing |
| World space | The fixed scene origin | Yes | Treated as the default for all tools |
| Parent space | The parent object’s local frame | Only if the parent moves | Mixed up with local space in hierarchies |
| Tangent space | Each vertex’s normal and tangent | No | Mistaken for local space in normal maps |
| Gimbal mode | Euler rotation axes | Depends on rotation order | Displayed as local axes in some tools |
Object-space normal maps illustrate the difference well. They encode normals in the mesh’s local frame, so they stay valid under rigid motion but break when the mesh deforms. Tangent-space normal maps remain correct under skinning, which is why they dominate game and film pipelines for animated characters.
Working with local space in modeling and animation
Every major 3D package exposes local space through a transform orientation or reference coordinate setting, usually labeled Local, Object or Parent. Choosing the right orientation for each task saves time and prevents subtle errors in rigs and exports. The decision table below summarizes common situations.
| Task | Recommended frame | Reason |
|---|---|---|
| Rotating a wheel on a tilted car | Local | The axle follows the object’s own X axis |
| Aligning objects to a floor grid | World | The grid is defined in scene coordinates |
| Extruding a panel outward | Local or normal | Direction follows the surface, not the scene |
| Animating a spine bone | Local or parent | Rotation curves stay clean and predictable |
| Placing props across a level | World | Positions must match level design data |
Freezing or applying transforms bakes the current scale and rotation into the vertex positions, so the local axes realign with the world and the scale returns to 1. Artists do this before rigging and export because non-uniform scale on an object distorts normals, physics colliders and bone influences. The operation leaves the mesh visually unchanged but rewrites its local-space data.
- Set the pivot deliberately before animation, for example at a hinge, wheel center or character’s feet.
- Keep scale at 1 on exported objects so engines interpret physics and lighting consistently.
- Check the up axis of the exporting and importing tools, since Y-up and Z-up conventions swap local axes.
Common mistakes and failure modes
Most problems with local space come from mismatched pivots, unapplied transforms or axis conventions that differ between applications. They rarely show in a static render but surface during animation, simulation or export. The table pairs typical symptoms with their causes and fixes.
| Symptom | Likely cause | Fix |
|---|---|---|
| Object spins around a distant point | Pivot left at the scene origin | Move the pivot to the intended rotation center |
| Lighting looks wrong after scaling | Negative or non-uniform scale | Apply scale and recalculate normals |
| Model lies on its side after export | Y-up versus Z-up mismatch | Set axis conversion in the exporter |
| Child objects jump when reparented | Parent transform not compensated | Keep the world transform when reparenting |
A frequent misconception is that a bounding box computed in local space matches the one computed in world space. A local box stays tight around the mesh and rotates with it, while a world-aligned box grows as the object rotates. Engines often store both for this reason, using the local box for precise tests and the world box for fast culling.
In plain words
Local space is the private map an object carries with it. Every point on a model is described as “this far left, this far up and this far forward” from the object’s own center, not from the middle of the room.
Think of a chair with its own set of measurements. Wherever the chair is carried, its leg is still the same distance from its seat. Moving the chair only changes where that personal map sits in the room, so the shape is stored once and placed anywhere.
A real-world example
A game studio builds a city street with 400 parked cars drawn from six vehicle models. Each model is authored once in local space, with its pivot at ground level between the wheels and its scale applied at 1. The level editor stores only one world transform per car, so the memory cost of the street is six meshes plus 400 small matrices.
When an animator rigs the wheels, each wheel rotates around its local X axis, so it turns correctly even on cars parked on a sloped road. One model had been exported with a leftover scale of 1.2, and its headlights lit the pavement incorrectly. Applying the scale in the modeling tool and re-exporting fixed the problem, and the street rendered consistently in a single pass.