Rigging something that needs to contact another object directly

Not sure what you’d call this, exactly, but here’s my problem, I’m trying to rig an object that looks something like this:

The above has a “Copy Rotation” constraint on it the bottom bone, but when I go to rotate, they rotate as per the image:

Under regular circumstances, this would be normal. The problem is that I’m trying to get it to look like the two meshes are touching each other like inverse dominoes, but without having to manually pose both bones into position:

Is there a workaround for what I’m looking for?

Yes, but it’s probably more complicated than you wanted, and you’re providing such a simple demonstration that I’m not sure that what you really want will work with the solution I’ll offer.

We use a three-bone IK chain, with rotation, position, and stretch enabled. The first bone in the IK is the parent of the controlled mesh object. The second bone is aligned with the collision plane of that object, is locked in all axes, and has stretch enabled. The third bone is free, but because of rotation, seeks to match the rotation of the IK target, which is parented to the control bone and which is aligned with that bone’s mesh’s collision plane.

This won’t handle changes in the collision plane-- after we rotate further than shown, the collision point will change, and the bones don’t really know anything about the meshes they control.

IKcollision.blend (110.6 KB)

So basically, the only way for it to work properly is to do it manually? Is that the takeaway here?

There’s nothing manual about what I just demonstrated. There’s one control bone.

No, I meant the result I wanted. I tested out the blend file and it didn’t give me the result I had wanted. It looked odd trying to lower it, and I was trying to make it so that the two meshes didn’t intersect one another. This is the result I’m trying to go after, one where the meshes touch, but don’t clip through each other:

Think that, but with an actual rig, how would I go about it in an easier fashion?

As an aside, is there a way to override the default settings for the “Copy Rotation” constraint? I want to try something, but I can’t seem to get the factor to get past 1.

Like this?

A little more care taken with bone placement, I was just eyeballing it before, but it’s the same structure.

You can use two copy rotation constraints. They have mix modes like add, after original, etc.

I’ll try that, thanks.