← Back to team overview

yade-users team mailing list archive

Re: [Question #688324]: rotate to a certain degree

 

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

Jan Stránský proposed the following answer:
> I didn't find any parameters in Rotationengine and Helixengine can set
the directions and the degrees.

RotationEngine.angularVelocity
positive / negative value change the sense of rotation w.r.t. rotation axis

"the degrees" is a more tricky, you will have to check regularly the
state (probably something like b.state.ori) and change the
angluarVelocity at suitable times/values.

cheers
Jan

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