Use Buoyancy Component on my own water actor

Hi everyone, I’m working on an open world game and I’d like to use the Buoyancy Component on a water actor I made because I can’t use the Water Body (Unreal water system is really bad and gives me a lot of issues).
Is there a way I can use the Buoyancy Component that comes with the Unreal water system on my own water actor? Can I edit it in C++ to make it work and how? I’m not great in C++ but I can do something as far as it’s not too complicated.

Just make your own buoyancy class to instantiate components and go along with the custom water class you must have already created.

You can access and look over the code for unreal.

But you should probably get and break down the community ocean project to learn.