Sub topic 10
Mirroring weights across the X axis
Most characters are symmetric. Painting both arms, both legs and both hands by hand doubles the work and creates small differences between the sides. Blender can paint both sides at once, or copy finished weights from one side to the other afterward. This chapter assumes you can paint weights with a brush, and you know that vertex groups are named after bones.
What mirroring needs
Mirroring pairs each vertex on one side with the vertex at the opposite position across the mesh's local X axis. It also pairs each vertex group with its opposite-side group by name. Three conditions must hold, or the results will be wrong.
- Symmetric geometry centered on the object origin. The mirror plane is the X = 0 plane of the object's local space. If the mesh is shifted or rotated inside the object, the plane is in the wrong place. Apply location, rotation and scale (Ctrl+A) before you start.
- Matching vertices. By default, Blender finds the partner of each vertex by position. If the mesh is slightly asymmetric, some vertices have no partner and are skipped.
- Mirrored names. Bones and vertex groups for the two sides must differ only by a side marker that Blender recognizes. Examples:
arm.Landarm.R,arm_Landarm_R,Left_armandRight_arm. Bones such asarm.leftandarm.Rdo not pair.
Center bones such as spine or head have no side marker. Their groups map to themselves, so mirroring flips their weights within the same group.
Method 1: paint both sides at once
Use this method when you want every stroke to apply to both sides as you work.
- Select the mesh and enter Weight Paint mode.
- In the 3D Viewport header, open the Mirror (butterfly icon) menu and enable the X axis.
- Paint on one side. Blender applies the same stroke to the matching vertices on the other side, and it writes to the opposite group (
upper_arm.Rfor a stroke inupper_arm.L).
The second part matters. The stroke must go into the mirrored group, not into the same group. This only works if the opposite group exists and its name matches. If upper_arm.R is missing, the mirrored stroke has nowhere to go.
Under Object Data Properties, the Mesh Symmetry options include Topology Mirror. By default, Blender matches vertices by position. With Topology Mirror on, it matches them by how the mesh is connected. Use topology mirroring when the mesh is symmetric in structure but not in exact position, for example after you sculpted one side differently. It needs a clean, truly mirrored edge layout and fails if the topology differs between the sides. Leave it off for an exactly symmetric mesh, because position matching is faster and more predictable.
Method 2: paint one side, then copy
Painting both sides at once suits early work. For fixes, copying is often safer: finish one side, then copy its weights over the other.
In Weight Paint mode, open the Weights menu and choose Mirror. The operator has these options:
| Option | What it does |
|---|---|
| Mirror Weights | Copies the weight values across the mirror plane. |
| Flip Group Names | Writes each mirrored weight into the opposite-side group, such as `.L` into `.R`. |
| All Groups | Processes every vertex group, not only the active one. |
| Topology Mirror | Matches vertices by mesh connectivity instead of position. |
For a normal character, turn on Mirror Weights, Flip Group Names and All Groups. Without Flip Group Names, the weights keep the same group names. A left-arm weight pattern would then be copied into the left-arm group on the right-side vertices, which gives the wrong result.
To control which side is the source, use vertex selection masking. Enable it in the header, then select only the vertices on the side you want to overwrite. When you run Mirror, Blender copies from the unselected side onto the selected one. If both sides are selected, it swaps them. Check the result in Weight Paint mode after every run, because a wrong direction overwrites your good side.
Method 3: mirror with a script
The same operation is available as bpy.ops.object.vertex_group_mirror. This is useful when you repeat the step on many characters. The script below mirrors every group on a mesh named Body.
import bpy
obj = bpy.data.objects["Body"]
bpy.context.view_layer.objects.active = obj
bpy.ops.object.mode_set(mode='OBJECT')
# Copy weights across X and write them into the opposite-side groups.
bpy.ops.object.vertex_group_mirror(
mirror_weights=True,
flip_group_names=True,
all_groups=True,
use_topology=False,
)
# Read back one vertex to confirm the groups look right.
for v in obj.data.vertices[:5]:
print(v.index, [(obj.vertex_groups[g.group].name, round(g.weight, 3)) for g in v.groups])The operator reads the same options you see in the menu, so the same cautions apply. Mirror on a copy of the file first if you are not sure which side will be overwritten.
Checking that the mirror worked
After mirroring, compare the two sides directly.
- In Weight Paint mode, use the bone selection or active vertex group list to select
upper_arm.L, and note the colors. Then selectupper_arm.R. The patterns should be mirror images. - Select the shared center groups, such as
spine. Their weights should be symmetric around the middle of the mesh. - Move to Pose Mode and rotate a matching bone on each side by the same amount. Compare how the mesh bends. A visible difference means a vertex did not find its partner.
If the mesh has isolated vertices with no partner, enable the Edit Mode vertex selection and use Select > Select All by Trait or the Mirror select option to find them. Fix the geometry, then mirror again.
Common problems
- Nothing changes on the other side. Either the opposite groups are missing, or the names do not pair. Rename them so they differ only by a recognized marker (
.L/.R,_L/_R,Left/Right). - Weights land in the wrong group. You ran Mirror without Flip Group Names. Undo and run it again with the option on.
- Only part of the mesh mirrors. Some vertices have no partner. This happens after sculpting, with a mesh that is off-center, or when unapplied transforms move the mirror plane. Apply transforms, then try Topology Mirror.
- The mirror plane is in the wrong place. The plane is local to the object. If you rotated the object 90 degrees without applying the rotation, the mirror may use the wrong axis. Apply rotation, or fix the origin.
- The center seam looks uneven. Vertices on the X = 0 line map to themselves, so a stroke can double up there. Smooth the seam by hand afterward with the Blur brush.
After you finish, run Normalize All and Limit Total, which you used in the previous chapter, so the copied weights still sum to 1 and respect your influence limit.
Exercise
You finished painting weights on the left side of a character and ran Weights > Mirror with Mirror Weights on and Flip Group Names off. The right arm now bends wrongly when you pose upper_arm.R. What happened, and how do you fix it?
Show answer
Without Flip Group Names, the weights were copied across the mirror plane but kept the same group names. The right-side vertices received left-arm weights (upper_arm.L) instead of upper_arm.R weights, so the right bone no longer controls the right arm. Undo, then run Weights > Mirror again with Mirror Weights, Flip Group Names and All Groups enabled, after selecting the right-side vertices as the target so the left side is the source. Then check both arms in Pose Mode.
Exercise
A mirrored weight copy works for the torso and legs, but several vertices on one shoulder keep their old weights. The mesh was sculpted after modeling. Name two likely causes and one setting to try.
Show answer
The likely causes are that those vertices no longer sit at exact mirrored positions, so no partner was found, and that transforms are unapplied or the mesh is off-center, which moves the mirror plane. Apply location, rotation and scale, confirm the mesh is centered on the origin, and try enabling Topology Mirror so vertices are matched by mesh connectivity instead of position.