Issue to rotate correctly two meshes together

Hi all,

I have two meshes and I want that one of them could slide into the other one. You can see the two meshes on this figure:


I tried to use constraints without success for now. I used a “Limit location”; for a fixed position of the external mesh, it allows me to slide the internal mesh as I want. But as soon as I move the external mesh, the internal one doesn’t move as I want. This picture displays the result after rotating the external mesh:

Basically I would like that when I rotate the external mesh, the internal one stays inside the external mesh. I tried “Copy rotation” “Copy location” and “Child” constraints without success.

Do you have any idea how to do that ?

Hi, you need to make sure they both share the same origin location.
Child of should work anyway.

Hi,