Custom contact behavior is introduced by https://github.com/dartsim/dart/pull/1626 for rigid bodies. Consider supporting it for soft bodies as well.