← Back to team overview

yade-users team mailing list archive

Re: [Question #688763]: ossillation_rotation

 

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

    Status: Open => Answered

Robert Caulk proposed the following answer:
Hello,

You are close, but you want to adjust the member angularVelocity,
instead here you are just creating a python variable called
angularVelocity.

So add a label to helix

HelixEngine(angularVelocity=rate,linearVelocity=-0.05,rotateAroundZero=True,zeroPoint=(x0,y0,z0),rotationAxis=(0,0,1),ids=coneIDS,label=helix),

then when you want to change the member angularVelocity, call it as:

helix.angularVelocity = newRate

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