Question #266547 on Yade changed: https://answers.launchpad.net/yade/+question/266547
Jérôme Duriez posted a new comment: Hi, Yade bodies movements can be directly controlled through their velocities - as in real world. Assuming that "plate" corresponds to the body you want to control (as in [1]), just type plate.state.vel = theVectorYouWant When you want to change the movement of plate, just change plate.state.vel. If you want this change to occur under given conditions (that will be fullfilled at a time you do not know yet), you may include a "PyRunner" [2] engine that will periodically check if the wanted condition is fulfilled, and act adequately when this is the case. The Oedometric test example of [1] includes example of PyRunner use, as Gravity deposition [3] (the one of Gravity deposition being more simple to understand) [1] https://yade-dem.org/doc/tutorial-examples.html#oedometric-test [2] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.PyRunner [3] https://yade-dem.org/doc/tutorial-examples.html#gravity-deposition -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp