Physical Water Surface

Hi,

How to get that nice foamy water around my boat? also is there any good particles I can use for the “waterspray” around my boat?

Really nice plugin though!

A particle system is a very good way to create form around a boat. Have a look at this video for example.

If you want to add a foam texture to the water surface around the boat, then you need to find out if a pixel on the surface is close to the floating object. For this I suggest one of the following methods:

  • Using DepthFade to find out if a floating object is close, see here.
  • Using Mesh Distance Fields (they are already used in Physical Water Surface to mask out water inside of the boat). See here for more information.

Hi, I have this ocean a while ago, I have seen that it is compatible with NavMesh, I was wondering why there is no basic example of artificial intelligence? I have tried to create an Ai to follow my boat but for some reason it stays still, please can you show us an example of how you should configure the Ai in your ocean with physics

Please check first if NavMesh is correctly building on the water surface. It should look like this.
Another customer once had a similar issue, it was solved by setting the Collision Preset of the boat mesh to Custom. I recommend that you contact me directly for further assistance at [EMAIL=“therealtheokoles@gmail.com”]therealtheokoles@gmail.com

Having issues with buyoancy on this pawn. I’m hoping this is compatible with Pawns because if not this is a big issue.

I have been struggling to get this mesh to work for hours now :frowning: Can someone take a look at the way I have this ship configured? It is spinning around in place.

The Buoyoancy Blueprint of Physical Water Surface works with Pawns, for example the Boat in the SteerableBoat mapis a Pawn.
Please contact me at [EMAIL=“therealtheokoles@gmail.com”]therealtheokoles@gmail.com, I’ll help you figure this out.

Please check that the location of the Center of Mass of your boat is at the correct location. If it’s at an unexpected location this could explain the behavior of your ship. Use this nodeto override the center of mass. If this doesn’t solve the problem please contact me at [EMAIL=“therealtheokoles@gmail.com”]therealtheokoles@gmail.com, I can have a look at your boat and help you get Buoyancy working correctly.

This issue was solved and I would like to provide the solution here for future reference: The problem was that no Collision was defined for the mesh of the ship (Collision is needed for the UE4 physics system to work properly). After creating Collision for the ship mesh (for example Box Simplified Collision), Buoyancy started to work as expected.

Hi, how is the progress going on the update?

I’ve made some significant progress. I hope I can share some screenshots soon.

Hey Theo,

I am building https://github.com/EpicGames/UnrealEngine version 4.24.2, creating a new project, and adding your Physical Water Surface plugin to the project.

Buoyancy is not working at all with the source code build. :frowning: Have you heard this issue before? Any ideas what I should do?

No, I haven’t heard about this issue before. Can you please check if everything works with the UE 4.24.2 version that is provided in the launcher? I just want to make sure that the problem really comes from the source code build.
You’re welcome to contact me at [EMAIL=“therealtheokoles@gmail.com”]therealtheokoles@gmail.com for more assistance.

The project icons show 4.24, but the actual engine I’m using from the launcher is UE 4.24.2.

Did you try to use Physical Water Surface with the engine version from the launcher? Did it work?

Yes, Physical Water Surface works great with the launcher engine version. I have networking plugins that require the source engine build, so I need to get Physical Water Surface working on the source build.

Do you get any error or warning messages during the build process or when you try to use Physical Water Surface with the engine source build?

Hey Theo, I’m not see anything. Only the Physical Water Surface plugin is installed in this game. I’m currently loading the “SteerableBoat” map. When I click to play the boat falls through the map. No changes were made to this project at all. :frowning:

With your source code build, please open each blueprint and click compile to check if any error or warning messages appear. Please also open the water material to see if there are any warning messages when you click apply. If there are no warning messages, then please click build in the editor and try again.

If the problem persists, please send me the log from building from source and the Output Log from running the game (after trying to use Buoyancy) as text files via email to [EMAIL=“therealtheokoles@gmail.com”]therealtheokoles@gmail.com.

So… I accidentally broke the for each loop node. :slight_smile:
Sorry, Theo. Thank you for all your help. This is a wonderful plugin.