yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #04687
Re: [Question #164424]: ForceRecorder
Question #164424 on Yade changed:
https://answers.launchpad.net/yade/+question/164424
Status: Open => Answered
Chareyre proposed the following answer:
I'm not too sure what you are doing with the two changeValues functions,
but this doesn't seem correct:
O.bodies[int(i)].state.pos += Vector3(0.1,0,0)
O.bodies[int(i)].state.vel = Vector3(0.,0,0)
As said before, you should not change position. If you define velocity, then the body will move, no need to update its position yourself.
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.