12-08-2022, 12:34 PM
Hi, I'm using current latest version of Obi Rope and I want to find simplest way to detect self-collision but unfortunately I can't do it. Is there a solution I missed?
(12-08-2022, 12:34 PM)serhatisbilir Wrote: [ -> ]Hi, I'm using current latest version of Obi Rope and I want to find simplest way to detect self-collision but unfortunately I can't do it. Is there a solution I missed?
(12-08-2022, 12:49 PM)josemendez Wrote: [ -> ]Hi,
Just subscribe to the solver's OnParticleCollision event, and look for contacts between particles belonging to the same rope. This allows you to tell when a self-collision has happened. See: http://obi.virtualmethodstudio.com/manua...sions.html
kind regards,
(12-08-2022, 01:05 PM)serhatisbilir Wrote: [ -> ]Thanks for quick reply!
Here is my scene; https://imgur.com/a/Jd7hooQ
I just subscribed to solver's OnParticleCollision but I'm always receiving contact list with no elements in it.
Note ; self collisions enabled
(12-08-2022, 01:10 PM)josemendez Wrote: [ -> ]Are particle collision constraints enabled at all in the ObiSolver component? In the image, the rope seems to be self-intersecting, there's no particle collisions going on.
kind regards,