← Back to team overview

yade-users team mailing list archive

Re: [Question #401682]: Problem with angular velocity

 

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

Description changed to:
Hi everybody!

I'm trying to set an initial value of the angular velocity for a body. I
set the angular velocity:

body=utils.polyhedron((v1,v2,v3,v4,v5,v6,v7,v8),fixed=False,color=(.6,.45,0),material="MLI",wire=False)
body.state.angVel=(0,0,0.1)
wx=body.state.angVel[0]
wy=body.state.angVel[1]
wz=body.state.angVel[2]

Then when I start yadedaily at the beginning of the simulation the
angular velocity is correct but when I write O.run() I don't know why
the angular velocity is set to (0,0,0). This happen when I use yadedaily
for ubuntu server 14.04 LTS whereas when I run the simulation with
ubuntu 14.04 on my laptop it works well and this problem is not present.
Any solutions?

Thank you in advance,

Jonathan

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