- Home /
Create Water Deformation
Hey guys, I want to create waves of water when I drop an Object on it, to simulate water ripples, I found some paid assets, but its too expensive, anyone have any example project or script to I test ? Or an idea to change the mesh of the water with an object mass on it ?
I want to do something like that
you can always animate water rippling in your selective 3D program and then script your desired object to play the water ripple animation when it collides or triggers the water.
Answer by Fattie · Aug 30, 2012 at 01:04 PM
Surely the best solution is to use the popular Megafiers package?? ... indeed the tutorial you link to explains precisely how to do it using Megafiers.
If you wanna start working with modifying mesh yourself, which is a whole career ..
http://docs.unity3d.com/Documentation/ScriptReference/Mesh.html
funnily enough the example they give is an example of using a sin() wave to modify a surface, so, that's pretty much what you want
(it's totally unscientific, but it will look vaguely like "ripples" if you fade it after say two peaks.)
Again it could easily take say, one to three years, to become expert at programming mesh from the ground up
Hope it helps!
Answer by Xicer · Aug 30, 2012 at 01:37 PM
As far as i know only the Pro version of unity has the ability to do what you want.
But maybe you could achieve the effect by making the water from cloth, or putting the cloth under the water object. It should interact in the same way as water would.
Just my 2 cents.
that's a GREAT idea, the cloth system! I totally didn't think of it.
@FredVicentin , check out the cloth system in Unity. it's quite possible it could solve your problem.