← Back to team overview

yade-users team mailing list archive

Re: [Question #703130]: How to integrate motion in only one direction?

 

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.