Acceleration projection method in multibody dynamics