Question #695164 on Yade changed:
https://answers.launchpad.net/yade/+question/695164
Status: Open => Answered
Jérôme Duriez proposed the following answer:
Maybe your interactions in O.interactions are not real. Non-real
interactions are accounted for if you ask for len(O.interactions), but
they are skipped in the for i in O.interactions: loop
Also note that for any Vector3 "vec" in yade terminal, like
O.bodies[id1].state.pos - O.bodies[id2].state.pos, you have directly
access to a .norm() function: vec.norm()
--
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