Sub topic 8
Vertex Groups and Weights
Prerequisites
You should know how to select objects, switch between Object, Edit, and Pose Mode, and create a basic armature. You should also understand parent and child objects and object transforms.
A vertex group is a named set of mesh vertices. A weight is a number assigned to a vertex in that group. In armature deformation, the group name normally matches a bone name. The weight tells Blender how strongly that bone affects each vertex.
How weights deform a mesh
The Armature modifier reads the mesh's vertex groups and the armature's pose. For each vertex, Blender combines the movement from every bone that has a nonzero weight for that vertex.
Weights normally range from 0.0 to 1.0:
0.0means the bone has no influence.1.0means the bone has full influence.- Values between them blend the bone's movement with other influences.
For example, a shoulder vertex might have a weight of 0.7 for the upper-arm bone and 0.3 for the torso bone. The vertex follows both bones, producing a smoother transition.
| Vertex group | Typical purpose |
|---|---|
| `upper_arm.L` | Influences vertices near the left upper arm |
The group name is case-sensitive. A group named Upper_Arm.L does not match a bone named upper_arm.L.
Creating and checking weights
Select the mesh and open the Object Data Properties tab. Under Vertex Groups, create groups whose names match the deforming bones. In Edit Mode, select vertices, choose a group, and use Assign with a weight value.
You can also create weights with Python:
import bpy
mesh_obj = bpy.data.objects["Cube"]
group = mesh_obj.vertex_groups.get("child")
if group is None:
group = mesh_obj.vertex_groups.new(name="child")
# Assign full influence to the first four mesh vertices.
group.add([0, 1, 2, 3], 1.0, "REPLACE")
modifier = mesh_obj.modifiers.get("Armature")
if modifier is None:
modifier = mesh_obj.modifiers.new("Armature", "ARMATURE")
modifier.object = bpy.data.objects["DemoRig"]The vertex indices must exist on the mesh. The REPLACE mode replaces earlier values. ADD and SUBTRACT change existing weights instead.
Common errors and fixes
- The mesh does not move: Check that the Armature modifier references the intended armature.
- Only some areas move: Check group names and whether those vertices have nonzero weights.
- The mesh tears at joints: Blend weights across neighboring bones instead of assigning each region to only one bone.
- The result is too soft or collapses: Use Weight Paint Mode to smooth or sharpen the transition.
- The whole mesh follows one bone: Inspect whether one group contains all vertices with weight
1.0.
Automatic weights can create a useful starting point, but they often need correction around shoulders, hips, fingers, and other joints.
Exercise
A forearm does not deform when its bone rotates. What should you check first?
Show answer
Confirm that the mesh has a vertex group whose name exactly matches the forearm bone, that the affected vertices have nonzero weights, and that the Armature modifier points to the correct armature object.