Obi Official Forum
Help Can I Reach transform of each particle on rope. - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html)
+--- Thread: Help Can I Reach transform of each particle on rope. (/thread-3035.html)



Can I Reach transform of each particle on rope. - fuatseref - 28-07-2021

I m trying to give water passing effect to the rope as the video in link below.  i think to give the effect; i can change the local scale of each particles at different duration.


the video link is here and i want to make between 0.07 - 0.10 seconds.  
 
 https://streamable.com/d118np

how can i make it by using obi rope.

thank you in advance.


RE: Can I Reach transform of each particle on rope. - josemendez - 29-07-2021

Hi there,

Note that particles don't have a "transform" as they're not gameObjects, they have separate position, orientation, and radius.

See the particle API documentation:
http://obi.virtualmethodstudio.com/manual/6.2/scriptingparticles.html

Using it you can change particle radius or any other per-particle property at runtime.


RE: Can I Reach transform of each particle on rope. - fuatseref - 10-08-2021

Thank you for your help. it worked.