Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Per Particle Coloration & thickness
#1
Help, Someone can give me a sample script of Coloration & thickness for Obi Rope?
I'm coding idiot ... dunno how to achieve those cool effect as blood vessel ...



[Image: intestines.gif]
Reply
#2
(04-05-2019, 02:58 AM)akuei2 Wrote: Help, Someone can give me a sample script of Coloration & thickness for Obi Rope?
I'm coding idiot ... dunno how to achieve those cool effect as blood vessel ...



[Image: intestines.gif]

bump
Reply
#3
Hi there,

Have you tried reading the particle scripting manual page? Guiño
http://obi.virtualmethodstudio.com/tutor...icles.html

The ObiRope component has arrays containing per-particle properties, that you can get/set directly. These blood vessels were done using Mathf.Sin() to modify the colors array and the principal radii according to a sine wave.
Reply