Mechanism with Constraints

Typically: "How do I... ", "How can I... " questions
Post Reply
Schindler
Posts: 27
Joined: 16 Jul 2013, 09:59

Mechanism with Constraints

Post by Schindler »

Hello,

I tried to create a mechanism like in your scene "ConstraintSolverExample".
You find my scene here:
https://dl.dropboxusercontent.com/u/469 ... s_TEST.ttt

What is my mistake? I want the Dummy9 to follow the Dummy27 to receive a translational movement of the Cuboid7. Is it not possible to use pure shapes in such a mechanism?
How may I make the dummies overlap? I was not able to implement this functionality with shapes that were respondable nor if they were not respondable?

Thanks for your help

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Mechanism with Constraints

Post by coppelia »

Hello,

you cannot mix the geometric constraint solver functionaliy with the dynamics functionality. Best is to avoid the geometric constraint functionality if you can, and to use the IK functionality instead (the IK functionality can work hand-in-hand with the dynamics functionality).

But, in the case of what you want to achieve, you do not need all of this (i.e. no geometric constraint solver or IK functionality). Select dummy27 and in its properties, specify Link type: Dynamics, overlap constraint. That's it.
Then set a velocity to Revolute_joint1 to make the mechanism move.

Cheers

Post Reply