Obi Official Forum
Detecting Particle 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: Detecting Particle Collision (/thread-2748.html)



Detecting Particle Collision - berko - 12-02-2021

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


RE: Detecting Particle Collision - josemendez - 12-02-2021

(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,