16-07-2020, 07:08 AM
(This post was last modified: 16-07-2020, 07:09 AM by josemendez.)
(15-07-2020, 06:50 PM)anulagarwal Wrote: Hi,
So how do i detect the number of particles currently in contact with a plane/collider? For example, If i my blueprint has 2000 particles, And I make a few fall off the edge, How do i detect the current remaining particles?
Thanks
Hi,
Obi simply provides the full contact list each frame, it is your responsibility to filter it any way you need. See:
http://obi.virtualmethodstudio.com/tutor...sions.html
In your case, you can simply keep track of the previous contact list, and use list operations (such as union, intersect, except) to determine which contacts have disappeared since the last frame and which ones still exist.