← Back to team overview

yade-users team mailing list archive

Re: [Question #140414]: how to add velocity to a facetBox

 

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

Chareyre proposed the following answer:
Hi Tao,

Try the same thing with dynamic=false like below. If dynamic=true,
velocity is computed automaticaly, else you can
assign it (in recent version, it will be fixed=False).

Bruno

O.bodies.append(utils.facetBox(center=(a,0,h),extents=(0,b,h),orientation=Quaternion((-1,0,0),0),wallMask=1,wire=True,dynamic=False,material='steel',color=(0,1,1))) 
O.bodies[0].state.vel=(0,0,1)
O.bodies[1].state.vel=(0,0,1)

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.