yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #07993
Re: [Question #234062]: Track rotation of particle
Question #234062 on Yade changed:
https://answers.launchpad.net/yade/+question/234062
Giulia Macaro proposed the following answer:
Hi,
I think it's already there, you can track it directly from python with O.bodies[id].state.rot(), which gives a vector of the current rotation of the body in reference with the initial orientation.
It gives the same result than recording the cumulative rotation in python for each time step with rot = rot_prev + angVel*dt .
Giulia
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.