Obi Official Forum
Remove particles when touching the collision - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Fluid (https://obi.virtualmethodstudio.com/forum/forum-3.html)
+--- Thread: Remove particles when touching the collision (/thread-4102.html)



Remove particles when touching the collision - dorubk - 02-02-2024

Is there a way to remove particles when they touch the collision? I'm looking at the 'Raclette' sample and can't figure out how to remove them.


RE: Remove particles when touching the collision - josemendez - 02-02-2024

(02-02-2024, 09:39 AM)dorubk Wrote: Is there a way to remove particles when they touch the collision? I'm looking at the 'Raclette' sample and can't figure out how to remove them.

Hi,

You can just set their lifetime to zero. You can find an example of this in the manual:
http://obi.virtualmethodstudio.com/manual/6.3/scriptingcollisions.html

let me know if you need further help,

kind regards


RE: Remove particles when touching the collision - dorubk - 02-02-2024

(02-02-2024, 09:47 AM)josemendez Wrote: Hi,

You can just set their lifetime to zero. You can find an example of this in the manual:
http://obi.virtualmethodstudio.com/manual/6.3/scriptingcollisions.html

let me know if you need further help,

kind regards
Thank you! I got all the information I needed!