Well, I finally get to complete this water simulation script! It’s great to showcase it to the world; this was made to enhance game worlds, making them much more dynamic and interesting. It simulates not only some forms of buoyancy and wave effects, but also how players interact with water in open-world games, or even pirate adventure-type games.
Check out the GitHub Repository for the full source code and documentation.
Tried out the demo place and it actually looks pretty good.
Though, one thing I have noticed is that if the camera in 3rd person is pointing downwards, the underwater effects won’t occur, and if the camera points upwards, the underwater effect constantly occurs.
Yes! Everything is modular so you can change it to make the player float gently, i’ll make some presets when i have time. Swimming animation is not implemented, but i can add that! And the performance is decent, shouldn’t cause any issues unless you make it insanely huge (without added bones it should not be a problem), then i’d have to implement a LOD system