yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #04023
Re: Impossible to update velocity
Hi, Vaclav,
thanks for help.
v=O.bodies[2].state.vel
O.bodies[2].state.vel=(v[0],v[1],-4)
This way is working, the previous one - not.
2010/4/16 Václav Šmilauer <eudoxos@xxxxxxxx>
> > Is there any other way to change the velocity?
>
> v=O.bodies[2].state.vel
> O.bodies[2].state.vel=(v[0],v[1],-4)
>
> as workaround.
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References