Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by Slightly Campana · Aug 23, 2010 at 09:03 PM · terrainwaterrunningriver

How do I make a river in the terrain in unity?

If I want to have a river (starting with a spring bubbling from rocks, growing into a river winding down a small valley, and ending up in the sea) what is the best way to do this?

First of all, do I just cut a shallow river bed when building the terrain? And is it then possible to fill this with running water?

The standard assets for unity only include a standing body of water, does this mean I need to render my own running water in an external 3d app? Or can this be done in unity as well?

(The water does not need to be extremely realistic, just so long as it is transparent and obviously running.)

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by DaveA · Aug 24, 2010 at 05:28 AM

I'm new to Water myself (just played first time yesterday), but it seems there are 2 'wave speeds' (both X and Y for each) which by default move in opposite directions, giving the illusion of 'standing' water. I think if you set them both to move in generally the same direction (same sign either positive or negative), it should give the effect you want.

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image _Petroz · Aug 24, 2010 at 09:18 AM 0
Share

Since the river is winding it cannot flow in a single direction as a whole.

avatar image Slightly Campana · Aug 24, 2010 at 03:44 PM 0
Share

I'll give this a try. Thanks.

avatar image DaveA · Aug 24, 2010 at 05:40 PM 0
Share

You can do it in pieces or play with the UV's maybe? If it's going to cascade down a slope you'd want to do that anyway. Don't forget to add some nice particle waterfalls too.

avatar image DaveA · Aug 24, 2010 at 05:48 PM 0
Share

I just tried this myself, setting first wave speed to 1,1 and second to .9,.9 and it looked pretty good. Definitely flowing in one direction.

avatar image
1

Answer by Pyph · Aug 24, 2010 at 01:42 AM

To make it animate, try looking at the Unity tutorial level (with Lerpz). The section that makes the "force field" walls animate could be a possible solution. It just moves a texture along the object.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Slightly Campana · Aug 24, 2010 at 03:44 PM 0
Share

I downloaded this tutorial, I'll have a look. Thanks

avatar image jbloom1704 · Jul 25, 2013 at 03:19 AM 0
Share

Can you add the link to this tutorial please?

avatar image
0

Answer by slkjdfv · Aug 23, 2010 at 10:33 PM

there are may ways of doing this. you could for simplicities sake take the water unity provides and make it big enough to cover the whole map then set it at the height you want. Did you want your player to swim or able to go in the water is my question? cause if so you could take you map and in a 3d program model the river the way u want.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Slightly Campana · Aug 23, 2010 at 11:43 PM 0
Share

in that case, how do I make the water that unity provides into running water? I want a stream with running water, not a still body of water sitting in a river bed. Are you saying it's not possible to do running water in unity, and that I need a 3d modelling app ins$$anonymous$$d?

avatar image slkjdfv · Aug 26, 2010 at 02:47 AM 0
Share

No it is indeed possible, it just requires lots of codeing and or meshing to get the results you want.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Rivers on procedurally terrain 0 Answers

What would be the best way to create a infinite river? 1 Answer

Water and Terrain issues 0 Answers

Sea around terrain,Do a sea for terrain 1 Answer

Make a simple tree 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges