Rigidbodies moving with flow of water
Hi,
Had a cursory look through the forums and a lot of questions were about buoyancy, which is important for what I need.
What I'm looking for is for someone to point me in the direction of an asset, tutorial or topics to look up so objects that will move with the flow of water when they are pushed into a river.
For example, if I dropped a crate into a water prefab/mesh it would move in a set direction the water is 'travelling' and then stop at a dam or obstacle.
Anyone that could point me in the direction of a free asset or tutorial would be great.
Thanks
Answer by TayDex_ · Mar 12, 2018 at 08:17 PM
I made a script so when the OBJECT gets under the WaterLevel it gets pushed up with force. the same you could do like On collision if the collision object is Moving river/z/X than Add force .... Not that hard. Hard is making good water, but that floating is just maybe annoying because you need to set it for evrything. Than you need to make a script that auto find out if it will float and how fast.
Your answer
Follow this Question
Related Questions
Can't find tutorial Assets in Asset store 1 Answer
Water Solution that supports multiple custom planes with reflections 0 Answers
How to use Asset store nowadays? 1 Answer
Pink water 2 Answers
How to make a water block 0 Answers