18-11-2021, 01:41 PM
On a side note: this code assumes no actor in your solver is using surface collisions. If you're using surface collisions, you must get the appropriate particle index from the simplices array. Otherwise your code will get completely incorrect indices.
See "Retrieving the particle involved in a contact" in the manual:
http://obi.virtualmethodstudio.com/manua...sions.html
See "Retrieving the particle involved in a contact" in the manual:
http://obi.virtualmethodstudio.com/manua...sions.html