← Back to team overview

yade-users team mailing list archive

[Question #233241]: how to get the body numbers who is contact with a sphere

 

New question #233241 on Yade:
https://answers.launchpad.net/yade/+question/233241

Hi, all
I want to get the body numbers  who is contact with a sphere i, when I try use len(O.interactions.withBody(i)), I get a num like 3,4,5, but in fact it is higher when inspect with inspector. why? I'm wrong?

if len(O.interactions.withBody(i))>=3:
	print len(O.interactions.withBody(i))

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.