04-04-2022, 08:41 AM
(04-04-2022, 08:35 AM)bubbbles Wrote: Hello,
Can some please help me how I would dynamically change the color of a rope like this video?
https://drive.google.com/drive/folders/1...sp=sharing
Thanks in advance
Hi!
Simply write your desired color values into the solver.colors array. See:
http://obi.virtualmethodstudio.com/manua...icles.html
Also make sure that whatever material you're using to render the rope has a shader that makes use of vertex colors. Otherwise no colors will be shown.