← Back to team overview

yade-dev team mailing list archive

Impossible to update velocity

 

Hi, all

I want to update the velocity of some spheres:

O.bodies[id1].state.vel[2] = -4.0
print O.bodies[id1].state.vel[2]

But the scripts gives me 0.0, so it is not updated.
r2091, what I can test, works normally. Is it a bug, or it is changed
something in the trunk?

Thank you.
______________________________

Anton Gladkyy

Follow ups