Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Can I get a water bulge effect on Rope
#4
(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

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.

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.
Reply


Messages In This Thread
Can I get a water bulge effect on Rope - by harut - 15-10-2020, 01:18 PM
RE: Can I get a water bulge effect on Rope - by josemendez - 16-10-2020, 09:37 AM