Animation
Inverse Kinematics
Try implementing this:
http://freespace.virgin.net/hugo.elias/models/m_ik2.htm