← 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

    Status: Open => Answered

Anton Gladky proposed the following answer:
Glad, that you have solved that.
By the way, it would be good to have it somewhere in docs or in examples.

Anton



On Tue, Jul 12, 2011 at 6:01 PM, Daniela
<question164510@xxxxxxxxxxxxxxxxxxxxx> wrote:
> 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.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

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