prescribe motion for rigid body