← Back to team overview

yade-users team mailing list archive

Re: [Question #688512]: polyhedra particle is passing the wall

 

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

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hi,

It's because Yade is mercyless when you use something without knowing
all underlying features.. (and the doc [*] could indeed be more explicit
here).

With mask = 3 (= 11 in binary), your green particle has not any mask-bit
in common with the "walls" (mask = 4 = 100 in binary) and they can not
interact [**] => one passes across another without any problem.


PS: why did you use mask here ?...

[*] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Body.groupMask reached from https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Body.mask
[**] https://gitlab.com/yade-dev/trunk/-/blob/7704b6945b361b46f0b8514524dbbebb6798b5f4/pkg/common/Collider.cpp#L28. This mayCollide should return true for interactions to be possible

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