I have it all working in my project available for anyone to download and use in their games. has even gone so far as to provide some of the code needed for buoyancy, as well as the material displacement.
In order to get working in your project, look through the project and see which features you have and which you don’t have yet. The code itself will not work in another project by just copy/paste, it needs to be modified to your projects API.
I will be packaging the code as a plugin in a future release, but as of right now, it is very difficult to get working. Here’s the download, all files are there.
Here is the Preview of version 2 - With Working Buoyancy
<Link Removed - Now on GitHub>
GitHub Link -