15-10-2020, 01:18 PM
Hi I'm using Obi Rope for a hose, how can i get a water bulge effects for the rope, like in this video: https://www.youtube.com/watch?v=3T8cKTQrMxk
Help Can I get a water bulge effect on Rope
|
15-10-2020, 01:18 PM
Hi I'm using Obi Rope for a hose, how can i get a water bulge effects for the rope, like in this video: https://www.youtube.com/watch?v=3T8cKTQrMxk
15-10-2020, 01:24 PM
(15-10-2020, 01:18 PM)harut Wrote: Hi I'm using Obi Rope for a hose, how can i get a water bulge effects for the rope, like in this video: https://www.youtube.com/watch?v=3T8cKTQrMxk Simply change particle radius at runtime. See: http://obi.virtualmethodstudio.com/tutor...icles.html Changing both color and radius is how this was made using ObiRope:
15-10-2020, 09:36 PM
I've managed to create the bulges, but I can't change the particle color like in your Gif
I'm setting the color from here Code: _rope.solver.colors[solverIndex] = color; but it dose not have any effect on rope color. What material do you use, I'm using RedRope + ObiRopeExtrudedRenderer.
16-10-2020, 09:37 AM
(15-10-2020, 09:36 PM)harut Wrote: I've managed to create the bulges, but I can't change the particle color like in your Gif You must use a shader that uses vertex colors when rendering, of course. Unity's Standard shader does not. You can find lots of per-vertex colored shaders online, and there's also one included at Obi/Resources/ObiMaterials/StandardVertexColors.shader which mimics the Standard shader. |
« Next Oldest | Next Newest »
|