added most of rigid body interface