26-11-2021, 09:33 AM
(This post was last modified: 26-11-2021, 09:35 AM by josemendez.)
(26-11-2021, 08:50 AM)greyhawk Wrote: How do I thin a selected region of the rope? What I want to do is to thin the points between the object contact and the points I have determined. What is your suggestion?
Hi!
Just reduce particle radius (solver.principalRadii). This can easily be done using the particle API:
http://obi.virtualmethodstudio.com/manua...icles.html
For detecting collisions, you can use collision callbacks. Each contact provides body and simplex indices, from which you can determine the particle(s) you need to change the radii of:
http://obi.virtualmethodstudio.com/manua...sions.html