09-04-2019, 12:33 PM
(08-04-2019, 03:25 PM)romainD Wrote: Hi guy's,
I'm a AR/VR developer for industrial applications.
We bought ObiRope 4.0.
i would like to highlight a touched particle with a Controller.
I see in patchNote 3.3, exactly what I want in thread : Per Particle Color & Thickness.
http://blog.virtualmethodstudio.com/2018...whats-new/
Is there an example of per particle scripting coloration ?
Thanks.
BTW : Really nice package !
Hi there!
You can work with color just as you do with any other particle property (position, velocity, etc). See:
http://obi.virtualmethodstudio.com/tutor...icles.html
For instance:
Code:
for (int i = 0; i < actor.colors.Length; ++i){
actor.colors[i] = Color.blue;
}