If I'm getting what your asking, you will have to look into rigging, theres quite a lot of free tutorial on the net going over the process