Question #692420 on Yade changed:
https://answers.launchpad.net/yade/+question/692420
Status: Needs information => Solved
Yuxuan Wang confirmed that the question is solved:
Thank you so much Jan, I used
extractVelocity=lambda b: flattener.normal(b,b.state.vel) if -0.15<
b.state.pos[2] <= 0.15 else None
and it worked perfectly.
Best,
Yuxuan
--
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