Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to detect number of particles in collision?
#2
(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.
Reply


Messages In This Thread
RE: How to detect number of particles in collision? - by josemendez - 16-07-2020, 07:08 AM