← Back to team overview

yade-users team mailing list archive

Re: [Question #687862]: Assign avoidSelfInteractionMask while detecting contacts in compatible group masks

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

just make the cuboid-box common bit to be not present in
avoidSelfInteractionMask, e.g. avoidSelfInteractionMask=2

currently:
0b01 # 1, cuboid
0b11 # 3, box
0b11 # 3, avoidSelfInteractionMask

proposed (not tested):
0b01 # 1, cuboid
0b11 # 3, box
0b10 # 2, avoidSelfInteractionMask

this should collide 1-1 and 1-3, but igonre 3-3

let us know
cheers
Jan

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