2D Procedural Water System With Buoyancy

Try game asset 2D Procedural Water System With Buoyancy 5.0 Unreal Engine for your project.

Game Assets
  • Platform

    Unreal Engine

  • Version

    5.0

  • Number

    108576

Description

This package contains two Blueprints, One for the Procedurally generated 2D water mesh and the other for the Floatable Sprites, Floatable Blueprint has an interface implemented on it which of course is included, also there is a Blueprint Function which I created for its reusability and hence is easily customizable, hence this function can be re-implemented in various scenarios according to your needs.


Tutorial

Guide

Reflection Feature Setup Guide


I have also included comments inside blueprints where possible, also below are some pointers to help you along.


If For any Reasons want to manipulate Verties of the mesh The Procedural Mesh is Generated as bellow:-


1 * * * 3

* *

* *

0 * * * * * 2* * * * * 4


2. Material for the water mesh is included and its instance has been applied on the Demo, the instance gives you the option to apply any texture you want and hence is dynamic.


3. When using Floating Object, add some pontoon array elements to it usually 1-3 will do the trick, for convenience, I have made them instance editable with 3d widgets shown, so it will be quite easy to manipulate from the editor itself.


4. When Using Floatable Objects keep in mind to add mass more than at least 600 since the mass has been used in alpha calculations of the force, and also you don't want your player to send your floatable object into multiverse just by touching it :).


5. All the manipulative variables have been created to be instance editable.

6. 2 Materials one for reflection and the other for normal water (Tileable and scalable).


Update Log:

V_2.0: Improved performance and Frame rate independence.

  1. Frame rate independence achieved (Tested at 15-60+ FPS).
  2. Timer by event rate depends on the delta time (OVERLAPPING= (0.8 * Delta time) & IDLE = (1.0 * Delta time) and caps at "0.03".
  3. Texture Tilling or stretching Feature available.

V_3.0

  1. Reflection feature added.
  2. Few minor Improvements.





Note:-

  1. Try to keep the no of iterations variable in the procedural mesh low as it can easily add up.
  2. Procedural mesh uses a Custom collision Object Channel Named "Water_Body", to be traced only for this specific type from Floatable Actor Blueprint, an instance editable variable has been defined for convenience.

Steps to define New Collision Channel:


Edit->Project_Settings-> Collision -> Object Channel->New Object Channnel-> Name "Water_Body"->Type "Overlap".

Read More

Technical Details

  1. Procedurally generated water mesh (Length and Hight User dependent).

2. Custom Designed Buoyancy, Using Blueprint Function.

3. Water Vertices manipulation using Hooke's Law (Highly Customizable.)

4. Works out of the box.

5. Works dynamically with editor exposed Variables.

6. Cost-effective (Uses Custom tick Type Event which Fires at max every 0.03sec.

7. Two Modes of water Displacement

* Idle-> Water moves with randomly applying small forces along vertices imitating motion.

*Overlapped-> Stops the idle Movements when overlapping starts moves according to the disturbance caused.

8. Highly customizable reflection feature, with dynamic render texture.


(Currently set in such a way that, Idle state is reached only if no overlapping occurs or 10 Sec after all overlapping end)




Number of Blueprints: 2

Number of Blueprint Functions: 1

Number of Interfaces: 1

Number of Sprites: 4

Number of Textures: 7

Number of Materials: 2

Material Instances: 1

How to Download Asset

You can get the asset from the button below. Link will take you to our telegram channel, where you can fin out all the information you need. Do not forget to support the author of the asset in the official store.

You can also support us by subscribing! All subscribers receive much more assets, as well as tutorials on Unreal Engine and Unity every month!

  • Education Emoji

    Education Use

    free/sub
    old price $ 9.99
    Use this asset for your projects for educational purposes.
  • Commercial Emoji

    Subscription

    Subscribe and get more assets and tutorials!
  • Unreal Engine
    Platform
  • 5.0
    Version
  • 108576
    Number