The motion of the bodies is integrated using the rigidBodyDynamics library with joints, restraints and external forces. The mesh-motion is interpolated using septernion averaging. This development is sponsored by Carnegie Wave Energy Ltd.