Publisher | Andrii |
---|---|
File size | 251.27kB |
Number of files | 16 |
Latest version | 1 |
Latest release date | 2022-04-11 09:51:22 |
First release date | 2019-11-11 07:16:10 |
Supported Unity versions | 2018.4.2 or higher |
My Twitter | Forum thread | Online demo | Online manual
Water Waves 2D is the effect for simulating 2D water surfaces with configurable properties, such as colors, sounds and properties of the waves.
- Modify how thick is your simulated liquid by seting the speed of oscilations, how fast they spread and how fast they decay.
- Set frequency, size and force of random ripples to simulate rain or uncalm water surface.
- Water can be a rectangle with a top surface or a circular surface.
- Respects project's Time Scale setting.
- Supports sprite sorting layers.
How does it work?
It creates a 2D mesh with a trigger collider and buoyancy effector and keeps and array of points. On trigger enter and exit it applies forces to the points, calculates their new positions based on spring equations and updates vertex positions of the mesh.
What it cannot do?
Right now it doesn't support texturing or any kind. It only uses the default sprite shader and doesn't not have shaders to create any effects. It also does not generate any particles yet. These features can be added in the future, especially if they'll be requested.
My Twitter | Forum thread | Online demo | Online manual
Water Waves 2D is the effect for simulating 2D water surfaces with configurable properties, such as colors, sounds and properties of the waves.
- Modify how thick is your simulated liquid by seting the speed of oscilations, how fast they spread and how fast they decay.
- Set frequency, size and force of random ripples to simulate rain or uncalm water surface.
- Water can be a rectangle with a top surface or a circular surface.
- Respects project's Time Scale setting.
- Supports sprite sorting layers.
How does it work?
It creates a 2D mesh with a trigger collider and buoyancy effector and keeps and array of points. On trigger enter and exit it applies forces to the points, calculates their new positions based on spring equations and updates vertex positions of the mesh.
What it cannot do?
Right now it doesn't support texturing or any kind. It only uses the default sprite shader and doesn't not have shaders to create any effects. It also does not generate any particles yet. These features can be added in the future, especially if they'll be requested.
My Twitter | Forum thread | Online demo | Online manual