<p>The magic is that the mesh is attached to the skeleton.  In it's simplest form, this is done by assigning each vertex to a bone.</p>

<p>When a vertex is assigned to a bone, that means that it will always keep the same position relative to that bone's position, and orientation (normal, tangent, bitangent aka the bone's local X,Y,Z axis) as the bone moves as directed by the animation data, physics impulses, or whatever else driving it.</p>

<p>As you might expect, some triangles will have vertices that belong to different bones.  When this happens, since the triangle is made up of those vertices, the triangle will stretch or squish as the bones move.</p>

<p>The link you mention explains a way to set up the vertices for this specific type of movement such that the vertices stretch and squish in realistic and well behaved ways.</p>

<p>In modern games, vertices are usually attached to multiple bones with a weight per bone so that each vertex is actually affected by the movement of multiple bones.  This gives a more natural and organic look to the mesh.</p>

<p>This answer only scratches the surface though, and this is a very deep topic which has many sub topics that are active areas of research!</p>

<p>If you want to read more about skeletal animation, this link is a good starting point:
<a href="http://blog.demofox.org/2012/09/21/anatomy-of-a-skeletal-animation-system-part-1/" rel="nofollow noreferrer">http://blog.demofox.org/2012/09/21/anatomy-of-a-skeletal-animation-system-part-1/</a></p>

CC BY-SA 3.0
2017-01-05T22:03:06.623Z
2017-01-05T22:03:06.623Z
Alan Wolfe
<p>What black magic is behind <a href="https://blender.stackexchange.com/a/46319/13953">this</a>?</p>

<p><a href="https://i.sstatic.net/1frCY.gif" rel="nofollow noreferrer"><img src="https://i.sstatic.net/1frCY.gif" alt="rigged finger"></a></p>

<p>Starting from a pile of polygons, a skeleton, and an initial conformation, how is a new conformation turned into a new pile of polygons?</p>

<3d><mathematics><animation><model>
How does a rigged model work?
Praxeolitic
# How does a rigged model work?

(Asked by: username_0 on 2017-01-05)

What black magic is behind [this](https://blender.stackexchange.com/a/46319/13953)?

[![rigged finger](https://i.sstatic.net/1frCY.gif)](https://i.sstatic.net/1frCY.gif)

Starting from a pile of polygons, a skeleton, and an initial conformation, how is a new conformation turned into a new pile of polygons?

**Tags:** 3d, mathematics, animation, model


---

## 1 answers

### Answer by username_1 on 2017-01-05. Score: 5 | Accepted answer

The magic is that the mesh is attached to the skeleton. In it's simplest form, this is done by assigning each vertex to a bone.

When a vertex is assigned to a bone, that means that it will always keep the same position relative to that bone's position, and orientation (normal, tangent, bitangent aka the bone's local X,Y,Z axis) as the bone moves as directed by the animation data, physics impulses, or whatever else driving it.

As you might expect, some triangles will have vertices that belong to different bones. When this happens, since the triangle is made up of those vertices, the triangle will stretch or squish as the bones move.

The link you mention explains a way to set up the vertices for this specific type of movement such that the vertices stretch and squish in realistic and well behaved ways.

In modern games, vertices are usually attached to multiple bones with a weight per bone so that each vertex is actually affected by the movement of multiple bones. This gives a more natural and organic look to the mesh.

This answer only scratches the surface though, and this is a very deep topic which has many sub topics that are active areas of research!

If you want to read more about skeletal animation, this link is a good starting point:
<http://blog.demofox.org/2012/09/21/anatomy-of-a-skeletal-animation-system-part-1/>


---

