Implement 2d rigid body skeletal animation