Rig Editor · Chapter 7 of 12
Rig Editor: Armatures and Bones
Written for version 2.7.0
What an armature is, adding one, building bones in Bones mode, left and right names, binding the mesh to the skeleton, and constraints.
The last chapter gave the surface its look with materials, textures and paint. This one builds the skeleton that lets the model bend, and attaches the mesh to it.
Materials, textures, painting on the model and the shader graph.
What an armature is
An armature is a skeleton that sits inside a model. On its own a mesh is stiff, like a statue. Give it an armature and it can bend wherever the skeleton bends. The pictures here use the box robot from the earlier chapters, its six boxes joined into one mesh with Join Nodes, with a few loop cuts round the arms so they can bend at the elbow.
| Word | What it means |
|---|---|
| Armature | The whole skeleton. One object that holds all the bones |
| Bone | One straight piece of the skeleton, such as an upper arm |
| Head | The end a bone turns about. Think of it as the joint |
| Tail | The other end. The next bone in a chain usually starts here |
| Parent | The bone another bone hangs from. Turn the parent and its children turn with it |
| Child | A bone that hangs from a parent. A forearm is the child of an upper arm |
| Rest pose | How the skeleton stands before anything is posed. You build it in Bones mode |
Add an armature
- In Node mode, tap Add at the bottom left of the viewport.
- Tap Armature.
- A new armature appears at the 3D cursor with one bone in it, one unit long and pointing straight up.
- Armatures have their own list in the Selection Panel, under Model. They never show in the Node Hierarchy.
- The + beside Armatures adds one as well.
- The arrow on an armature's row unfolds its bones. Bones that have children unfold in the same way.
- The eye on the armature's row hides the whole skeleton. Each bone has an eye too. Hiding a bone only hides how it is drawn, along with the bones below it. It still moves the mesh.
- While an armature is selected, the first segment of the mode selector reads Armature, and Bones and Pose sit beside it.
- One armature is normally all a model needs.
The first bone stands at the 3D cursor, which may be at the feet of your model. Move the cursor first, as chapter 2 showed, or move the armature afterwards with the Move tool in Armature mode.
The armature in the detail panel
| Row | What it does |
|---|---|
| Edit Bones | Opens Bones mode, the same as tapping Bones in the mode selector |
| Pose | Opens Pose mode |
| In Front | Draws the bones over the mesh, so you can see a skeleton that sits inside it |
| Preserve Volume | Keeps a joint from pinching thin when it bends or twists. It is on to begin with |
| Bones | How many bones the armature holds |
| Pose FX | Drives the pose from a node graph. It is advanced and this path does not cover it |
| Delete Armature | Removes the skeleton and unbinds every mesh that was attached to it |
A skeleton inside a solid mesh is hidden by the surface. Select the armature in Node mode and switch on In Front. The pictures in these chapters have it on.
Bones mode
Bones mode is where you build the skeleton: adding bones, placing their ends, naming them and deciding which hangs from which. Select the armature and tap Bones. Tap Armature to leave. There is nothing to confirm.
Selecting
- Tap the body of a bone to select the whole bone.
- Tap the small ball at either end to select only that end. Moving one end changes the length and direction of the bone.
- The selection row works as it does in Node mode: Set replaces, Add adds, Subtract removes. Box Select is in the camera bar.
- Tapping a bone's row in the Armatures list selects the whole bone.
- The detail panel has Select All, Deselect All and Invert Selection.
- If a tap keeps landing on the wrong part, use Select Bone, Select Head and Select Tail under Active Bone in the detail panel.
The tool rail
| Button | What it does |
|---|---|
| Move, Rotate, Scale | The same tools as every other mode. Move is picked up for you as soon as something is selected, so a drag anywhere in the viewport moves it. Tap Rotate or Scale to change tool |
| Extrude | Grows a new bone out of the selected end |
| Subdivide | Cuts each selected bone into two, joined end to end |
| Duplicate | Copies the selected bones and picks up Move so you can drag the copies away |
| Delete | Removes the selected bones |
- The axis box appears under the selection row while a tool is picked up, as before.
- Tap the lit tool to put it down, and one finger drags orbit again. It stays down until the selection changes, when Move is picked up once more.
- With nothing selected no tool is lit, and a one finger drag orbits the camera.
- The space menu offers Global and Local. The pivot menu offers Median Point, Bounding Box Center, 3D Cursor and Active Element.
- Rotate and Scale need at least two points to work with. With a single end selected they do nothing.
- Subdivide, Duplicate and Delete work on whole bones, so select the body, not an end.
- The same actions are rows in the detail panel under Bone Ops, with their names written out.
Extrude: growing the skeleton
- Tap the tail of the bone you want to grow from.
- Tap Extrude on the rail, the arrow pointing up and right.
- A new bone appears, the same length as the one it grew from. Its tail is selected and Move is picked up for you.
- Drag to put the new tail where it belongs.
- Tap Extrude again to carry the chain on.
- A bone extruded from a tail is a connected child of that bone.
- Extrude from the head of a bone that is not connected to a parent, and you get a separate bone that starts from the same point, with the same parent.
- A new bone takes the name of the bone it came from with a number added, such as Spine.001. Rename it straight away.
The active bone
| In the detail panel | What it is |
|---|---|
| Head, Tail | The exact X, Y and Z of each end of the bone you selected last, the active bone. Presets jumps the point to the 3D Cursor, Parent Head, Parent Tail or Origin |
| Name | Tap to rename the bone |
| Length | How long the bone is. Changing it moves the tail |
| Roll | The twist of the bone about its own length, in degrees |
| Connected | Glues the head of this bone to the tail of its parent |
| Parent | The bone this one hangs from. Tap to choose another |
| Style, Bone Width, Points, Point Size, Wireframe, Color | How the bone is drawn. None of them changes how it moves the mesh |
- Set Bone Parent lists every bone that can be the parent, with the armature itself at the top for a bone that hangs from nothing.
- Changing the parent leaves the bone where it is and switches Connected off.
- Connected moves the bone to close the gap. A connected bone can turn in Pose mode but cannot be moved away from its parent.
- Leave Connected off for a bone that starts away from its parent's tail, such as an arm that hangs from the shoulder and not from the top of the spine.
- Deleting a bone hands its children to the nearest bone above it. They stay where they are and become unconnected.
Left and right names
The app pairs left and right bones by their names. A name ending in .L is the partner of the same name ending in .R, so Arm.L pairs with Arm.R. The dot and the capital letter both matter.
- Symmetrize Bones makes a mirror copy of every .L or .R bone that has no partner yet, across the centre line of the armature. It needs nothing selected.
- Bones down the middle, such as Spine and Head, take no ending.
- Mirror Pose and the two Symmetrize rows of Pose mode rely on the same names. Chapter 9 uses them.
- If nothing happens, the note beside Back reads No .L or .R bones without a counterpart. Check that each name ends in exactly .L or .R, with nothing after it.
Attach the mesh
A skeleton does nothing until a mesh is bound to it. Binding tells the mesh which armature moves it, and gives every part of the surface its first weights: how much each bone pulls it. The next chapter is all about weights.
- Go back to Node mode and select the mesh.
- Scroll the detail panel to the Armature section. It is there as soon as the rig holds an armature.
- Tap Assign to Armature and choose the armature.
- Choose Automatic Weights or Empty Weights (first bone).
| Choice | What you get |
|---|---|
| Automatic Weights | Each part of the surface follows the bones nearest to it, up to four of them. The right start nearly every time |
| Empty Weights (first bone) | The whole mesh follows the first bone only. Choose it when you mean to paint every weight yourself |
- Bound to now shows the name of the armature, and Weights is offered whenever this mesh is selected.
- Line the bones up inside the mesh before you assign. Automatic Weights measures from where the bones are at that moment.
- Reassign binds the mesh again and replaces its weights. Unassign removes the binding. Both ask Keep transforms? Choose Keep Transforms to leave the mesh where it stands.
- A bound mesh and its armature move together in Node mode. Move either one and the other comes with it.
- A bone you add later joins the binding by itself, but pulls nothing until you paint weights for it.
- Each mesh is assigned on its own. Several meshes can share one armature.
Constraints
A constraint makes one node follow or copy another without making it a child in the hierarchy. Constraints have their own list in the Selection Panel, under Armatures.
| Kind | What it does |
|---|---|
| Track Position | Copies the position of another node, on the axes you choose |
| Track Rotation | Copies its rotation |
| Track Scale | Copies its scale |
| Track Transform | Copies position, rotation and scale together |
| Look At | Turns the node so that one of its axes points at the target |
| Cast Position | Places the node where a line from another node meets a flat plane, or a set distance along that line |
| Stretch To | Points the node at the target and stretches it to reach |
| Child Of | Makes the node behave as the child of another node, or of a bone |
| Pin to Camera | Fixes the node to the view, so it rides along as you orbit |
| Pin Camera Target | Makes the camera orbit around a node |
| Value Driver | Reads one number, such as a rotation, and writes it into another setting |
| Value Mix | Blends two numbers and writes the result |
| New Group | Adds a folder for tidying the list. Groups do not change how constraints run |
- Select the node a constraint should act on before you add it, and Applies To is filled in for you. The row below it, under Connection, sets what the node follows.
- Child Of is the one for props. To put a hat on the robot, add Child Of with the hat selected, then set Parent to the Head bone. The picker lists nodes first, then armatures and their bones.
- The node jumps when you choose the parent, because its position is now measured from the parent. Set its Translation to where it should sit. Zero puts it exactly on the parent.
- Every constraint has Name, Enabled and Influence. Influence 1 is full strength and 0 is none. The eye on its row switches it off without deleting it.
- Constraints run from the top of the list down. Touch and hold a row for Move Up, Move Down and Delete.
- In Mesh mode with vertices selected, the menu also offers Track Vertex, which pins a node to one point of the mesh.
- Constraints pause in Bones mode and while you paint weights. They run in Pose mode, so you pose against them.
Decide how much each bone pulls each part of the surface, and paint it by hand.
Tell us which mode you were in, which bone or node was selected, what you tapped and what the skeleton did instead. A screenshot of the viewport with the detail panel helps.