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 <eudo...@arcig.cz>

> > 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@lists.launchpad.net
> Unsubscribe : 
> https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help   : https://help.launchpad.net/ListHelp
>
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to