← Back to team overview

yade-users team mailing list archive

Re: [Question #692420]: Select bodies under post2d.extractor function

 

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.