01-01-2023, 11:15 AM
(30-12-2022, 12:01 AM)Rearden Wrote: Hey there! Hope you are all doing well!
I am using Obi fluid 6.5. So If I need to change collision category for all particles of the same emitter I could do it with
Code:if (emitter != null) emitter.SetFilterCategory(0);
My question is how to change collision category only for some particles of the same emitter? For example some particles collided with smt, then their collision category will be changed.
Is this possible? Thanks in advance!
Hi!
Yes it’s possible, you can change any particle property individually using the particles API. See:
http://obi.virtualmethodstudio.com/manua...icles.html
Also see “collision filters” at the bottom of the following page to learn how to create your own filters:
http://obi.virtualmethodstudio.com/manua...sions.html
Cheers!