Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Rope dynamic color change
#2
(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.
Reply


Messages In This Thread
Rope dynamic color change - by bubbbles - 04-04-2022, 08:35 AM
RE: Rope dynamic color change - by josemendez - 04-04-2022, 08:41 AM
RE: Rope dynamic color change - by bubbbles - 04-04-2022, 08:53 AM