Help Can I get a water bulge effect on Rope - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html) +--- Thread: Help Can I get a water bulge effect on Rope (/thread-2539.html) |
Can I get a water bulge effect on Rope - harut - 15-10-2020 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 RE: Can I get a water bulge effect on Rope - josemendez - 15-10-2020 (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/tutorials/scriptingparticles.html Changing both color and radius is how this was made using ObiRope: RE: Can I get a water bulge effect on Rope - harut - 15-10-2020 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. RE: Can I get a water bulge effect on Rope - josemendez - 16-10-2020 (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. |