18-04-2022, 11:31 AM
(18-04-2022, 10:49 AM)nmbileg Wrote: This function correctly cuts the rope only when surfaced based collisions are disabled, now that I'm using surface based collision, it cutting at a wrong position. How can I correctly detect the right particle when its enabled?
Probably the code you're using in Solver_OnCollision ignores simplices. When using surface collisions, the way you get particle indices is slightly different. See the manual ("Retrieving the particle involved in a contact") for details:
http://obi.virtualmethodstudio.com/manua...sions.html