Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  thinning by contact
#3
(26-11-2021, 09:33 AM)josemendez Wrote: 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

How do I reduce the radius of 3 particles(middle particle detecting by collision) I specified using "solver.principalRadii"? can you show an example? Because only the get operation is performed in the method you linked. Do you think I should modify the asset code? Or am I thinking wrong?
Reply


Messages In This Thread
thinning by contact - by greyhawk - 26-11-2021, 08:50 AM
RE: thinning by contact - by josemendez - 26-11-2021, 09:33 AM
RE: thinning by contact - by greyhawk - 26-11-2021, 12:02 PM
RE: thinning by contact - by josemendez - 26-11-2021, 12:13 PM