Obi Official Forum

Full Version: Per Particle Coloration & thickness
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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]
(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
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.