yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #14893
Re: [Question #632015]: gravity for certain material instance
Question #632015 on Yade changed:
https://answers.launchpad.net/yade/+question/632015
Jan Stránský proposed the following answer:
sure:
######################
vaporMat = FrictMat(...)
...
b = ...
O.bodies.append(b)
if b.mat == vaporMat:
O.forces.addF(b.id,f,permanent=True)
######################
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.