← Back to team overview

yade-users team mailing list archive

Re: [Question #661262]: How to record the rotation angle of polyhedra?

 

Question #661262 on Yade changed:
https://answers.launchpad.net/yade/+question/661262

    Status: Open => Answered

Jan Stránský proposed the following answer:
I think (not tested) that rate of rotation angle around x axis should be
dotAx = state.angVel.dot(Vector3.UnitX)
and the increment per time step
deltaAx = dotAx * O.dt

try it and let us know
cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.