yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #28301
Re: [Question #703130]: How to integrate motion in only one direction?
Question #703130 on Yade changed:
https://answers.launchpad.net/yade/+question/703130
Karol Brzezinski posted a new comment:
It is because you can give a new attribute to the body this way. For
example, if you want to discriminate between groups of bodies, you can
do something like this.
###
if b.state.pos[2]<z1:
b.shape.belongsTo = 'bottom'
###
belongsTo is an attribute that I have just made up.
Cheers,
Karol
--
You received this question notification because your team yade-users is
an answer contact for Yade.