Question #683065 on Yade changed:
https://answers.launchpad.net/yade/+question/683065

Jan Stránský posted a new comment:
> is there any rule or order between O.interactions[0,1].id1 and
O.interactions[0,1].id2?

interactions are created:
- "manually" with createInteraction function. Then the order is defined by the 
order of createInteraction arguments
- "automatically" by the collider. Then the order is ruled by the collider (the 
no trivial dependency I referred in #1).

So let's say that from user's point of view, the order is "random", 
"upredictable" or some word like this.
But note that through id1 and id2 you have access to the bodies and their 
positions, so you can treat some directions as negated e.g. to have all 
directions pointing in x+ direction.

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to