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

    Status: Open => Answered

Karol Brzezinski proposed the following answer:
Hi Guo,

You can block all degrees of freedom, except for 'z'. Let's say 'b' is
your body, so:

b.state.blockedDOFs='xyXYZ'

the above code constrains body, and allows only for vertical movement
(capital letters control rotation).

Best wishes, 
Karol

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

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to