- Home /
Flowing water
I'm new in Unity 3D and making games and I've got a little trouble: I want to make a river with flowing water and I don't know how to do it.
I found some codes on the forum but I didn't know where to put them: Link
I've tried to put the codes of that thread on the end of the object (plane) code but all I've got is a fully painted pink plane...
Answer by EctoNecro · Nov 09, 2012 at 10:46 PM
Not to be mean, but try reading... it tells you RIGHT ON THE THREAD, on how to use it.
"Usage: Make a box, stretch it out... Apply a water material to it... drag the script below to it... Water.... It even transforms the box into a trigger."
Thanks for the response. After making a box, stretching it out and applying a water material on it, I am wrong in the Script step. All I get is a pink water cube after doing all the steps.
Do I do something wrong?
I open the water code with $$anonymous$$onoDevelop and in the end of the code I add the thread code, result: Pink block.
Your answer
![](https://koobas.hobune.stream/wayback/20220613083622im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Help with making a water shader receive light 1 Answer
Having trouble to getting the height from an object being displaced by a shader 1 Answer
How do I make a boat that doesn't let water enter?,How do I make a boat that water cant get in to 2 Answers
Apply shader to terrain 0 Answers
Standard Asset water material is pink 4 Answers