tyFlow Forum
Scale particle on collision - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html)
+--- Thread: Scale particle on collision (/thread-4460.html)



Scale particle on collision - amcadam@animmersion.co.uk - 09-17-2024

Hi all.

Is it possible to scale a particles size when it collides with an object?

For example, if i birth a sphere that collides with a box , i'd like the sphere to instantly grow by 2%. Then if it collides again the same thing would happen...and so on.
I'm using physX.

Thanks,
Andy


RE: Scale particle on collision - tyFlow - 09-17-2024

Sure, use a PhysX Collision operator to send particles to a scale event when they collide, then send those particles back out to the original PhysX Collision event so the cycle will repeat.


RE: Scale particle on collision - amcadam@animmersion.co.uk - 09-17-2024

Thank you very much for your reply.

I've done what you advised, connected the out from the collision operator into a new event with scale in it, then i'm not sure how to send those particles back.

Thank you in advance,
Andy

Actually, scrap that last reply...i figured it out Smile Thank you for your help


RE: Scale particle on collision - tyFlow - 09-17-2024

See attached.


RE: Scale particle on collision - amcadam@animmersion.co.uk - 09-17-2024

Oh wow thank you so much for the scene, that all makes sense and i've got my scene working. I've just had a look and it looks like you've altered a couple of the default settings in the operators which i've never looked at before. Just reading into them now in the help docs. Thank you for your help!