← Back to team overview

yade-users team mailing list archive

[Question #659211]: Fixing spheres

 

New question #659211 on Yade:
https://answers.launchpad.net/yade/+question/659211

In the name of God

I want to fixed rotation and position of moving spheres.
 what i do is:

for b in O.bodies:
    if isinstance(b.shape,Sphere):
        b.state.blockedDOFs='xyzXYZ'
        b.vel=(0,0,0);b.angVel=(0,0,0)
 

But these bodies again move due to new interactions! I expected they should be fixed!

Any idea?!

Thanks
Mohsen

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.