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

    Status: Open => Answered

Jan Stránský proposed the following answer:
> but the zeroPoint (which is the center of the cylinder) is moving due
to the TranslationEngine and so not fixed.

you have to set new position each iteration e.g. using PyRunner

> if it is possible to make the cylinder restart from the initial
position after some iter

yes. You can:
- create a new at original position (and destroy the old one)
- set appropriate state.pos of the cylinder components to match the original 
position
- set for one iteration velocity and angular velocity such that the cylinder 
moves to its original position

cheers
Jan

-- 
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     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to