Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Detecting Particle Collision
#1
Hi there,
-I want to detect particles contacting each other.  Then I will try to move those particles together either applying force or setting their velocities.
I tried solver.OnParticleCollision but I doest work for me.



Thanks in advance
Reply
#2
(12-02-2021, 02:07 PM)berko Wrote: Hi there,
-I want to detect particles contacting each other.  Then I will try to move those particles together either applying force or setting their velocities.
I tried solver.OnParticleCollision but I doest work for me.

Thanks in advance

Hi there,

Only solid particles will collide with each other. Fluid particles won't, if they did they would behave like sand or pebbles (which is what Granulars do).
Fluid works using density constraints. You can't get particles "contacting" each other in the fluid, as there's no contacts involved in fluid simulation.

kind regards,
Reply