Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Per Particle Coloration
#1
Gran sonrisa 
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 !
Reply
#2
(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;
}
Reply
#3
Dedo arriba 
OK, 
it's working great now ! 

Thanks a lot's ! 

I wasn't using ObiParticleRenderer Gran sonrisa
Reply