I have for example this mechanism:
And I'd like to allow to the cube to move only in the slot. I pinned down two of its degree of freedom, and with a "Limit Mate" I can set the distance to move between the sides of the slot.
But if I change the dimensions of the slot, it won't work anymore, so I wonder if it is possible somehow to limit the cube's movement by setting the limit form the left side of the cube coinside with the inner left side of the slot to the right side with the innerright side coincide, or something like that:)
Thanks in advance!