Question #685054 on Yade changed:
https://answers.launchpad.net/yade/+question/685054
Status: Open => Answered
Jan Stránský proposed the following answer:
Hi Leonard,
see [1] (parts about collision detection) and change
###
if O.interactions.has(i,j):
OverlapBalls.add(i)
###
to
###
if O.interactions.has(i,j):
if O.interactions[i,j].isReal:
OverlapBalls.add(i)
###
In Yade, interactions are created by a collider, which creates interactions
wherever there is a "potential of physical interactions", i.e. when bounding
boxes overlap (the approximate collision detection phase).
It is then a work of Ig2/Law2 to do exact contact detection, "marking" the
interaction as real if there is a "physical overlap" or not.
cheers
Jan
[1] https://yade-dem.org/doc/formulation.html
--
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