Here, I will introduce a demo program (demo_C) that animates a human model walking. The model is Akira from Virtua Fighter.
Akira consists of 22 polygon objects, and each object has a hierarchical structure as shown in the figure below.
Figure C-1 Akira's parent-child structure
Note: Akira is now facing you.
By providing angle data between Akira's parent and child objects, you can create "joints". By changing this angle data, you can move Akira connected by joints. This angle data between each parent and child object is called "motion data."
Complex motion data such as the human body is usually created using 3D animation tools.