18-08-2023, 07:15 PM
Hi,
As a test, I updated my code to create an ObiPinConstraintsBatch for each sticking particle, and remove the batch entirely when its single constraint exceeds the threshold.
This works successfully, however I am not sure of the efficiency of creating and destroying entire batches this way for one particle each.
As this demonstrates the problem is indeed in trying to update an ObiPinConstraintsBatch, what is the recommended approach to do so?
As a test, I updated my code to create an ObiPinConstraintsBatch for each sticking particle, and remove the batch entirely when its single constraint exceeds the threshold.
This works successfully, however I am not sure of the efficiency of creating and destroying entire batches this way for one particle each.
As this demonstrates the problem is indeed in trying to update an ObiPinConstraintsBatch, what is the recommended approach to do so?