← Back to team overview

yade-users team mailing list archive

Re: [Question #164510]: TranslationEngine + RotationEngine

 

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

Daniela posted a new comment:
After many tries, I got to solve the problem using this:

CombinedKinematicEngine(ids=body1,comb=[TranslationEngine(translationAxis=[1,0,0],velocity=10),RotationEngine(angularVelocity=10,rotationAxis=[0,1,0],rotateAroundZero=1,zeroPoint=(0,0,0))],label='Eng')

I can access all parameters inside the engine writing for example
Eng.com[0].velocity=20.

Thansk again for all suggestions.

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.