adding glue, sticking on collision

   1312   0   0
User Avatar
Member
5 posts
Joined:
Offline
Hi All,
I have two sets of fractured rbd objects, the first set attracts the second set by a custom field force. Now I want the second set to stick to first set on collision, with a random glue value.
I know this is possible by looping through the dop impacts and fetching the otherobjid and checking if it belongs to the first group. Setting the glue object based on this result…But I was wondering if there is an easier way…bypassing looping through every object..since this seems to be kind of slow.

Any hints?

Thanks, cheers, Koen
  • Quick Links