The Moby rigid body dynamics simulator