Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Obi Rope Pipe Water Flow Effect
#4
(27-01-2022, 01:40 PM)NorkQ Wrote: Hi, thank you so much josemendez this is working !
But there are some problems here I guess. When the rope streching, 
swelling is streching also. Here is the video of problem:


You can make the sine wave relative to rope length, instead of relative to particle index. This way when particles separate due to stretching, the bulge won't stretch with them.

Simply accumulate the distance from one particle to the next, and use that instead of "i" in "Mathf.Sin(i + time)".

cheers,
Reply


Messages In This Thread
Obi Rope Pipe Water Flow Effect - by NorkQ - 27-01-2022, 11:16 AM
RE: Obi Rope Pipe Water Flow Effect - by NorkQ - 27-01-2022, 01:40 PM
RE: Obi Rope Pipe Water Flow Effect - by josemendez - 27-01-2022, 01:44 PM
RE: Obi Rope Pipe Water Flow Effect - by NorkQ - 27-01-2022, 02:08 PM
RE: Obi Rope Pipe Water Flow Effect - by NorkQ - 27-01-2022, 04:57 PM