yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #20525
[Question #683555]: How to check if there is interaction between Id1 and Id2 at current step?
New question #683555 on Yade:
https://answers.launchpad.net/yade/+question/683555
Hi,
I'd like to ask that how to check if there is interaction between id1 and id2 at current step?
At the beginning, I used "if O.interactions[id1,id2].isReal" to detect it, but I found that this way is wrong according to [1].
Is there any strategy you recommend to achieve it?
Many thanks.
[1]https://yade-dev.gitlab.io/trunk/yade.wrapper.html#yade.wrapper.Interaction.isActive
--
You received this question notification because your team yade-users is
an answer contact for Yade.