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?
Help Obi rope self-collision detection
|
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:49 PM
(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? 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
(12-08-2022, 12:49 PM)josemendez Wrote: Hi, 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
(This post was last modified: 12-08-2022, 01:11 PM by josemendez.)
(12-08-2022, 01:05 PM)serhatisbilir Wrote: Thanks for quick reply! 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,
12-08-2022, 01:28 PM
(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. Oh shoot I'm completely forgot about constraints It's working very well now, thanks so much! |
« Next Oldest | Next Newest »
|