Visual Motion Estimation And Tracking Of Rigid Bodies By Physical Simulation