When One Object Rotates on X Axis, Another Object Rotates on Z Axis (Constrains)

When this circle object rotates on the X axis, I want the cylinder object to rotate along the Z axis.

I’m pretty sure this can be done with the copy rotation constraint, because I did it once before, but I can’t reproduce the effect for some reason.

enter image description here

Here is the Blender file that is not working:

For some reason I did this once before and it worked, but I can’t reproduce it. Here is the working file that I can’t reproduce for some reason:

Also, here is the Post on Blender Stack Exchange if anyone can help. Thanks!

This is one of those things that is far easier to do with bones than with objects, because you can specify your rest axes:

Otherwise, so long as these are unparented, you need to use a transformation constraint instead:

If parenting these objects, there are ways to trick Blender’s set up of parenting inverses so that they rotate in the same local axis, but it’s a pain.

Thanks for your help! Someone on Blender Stack Exchange Gave me a Good Solution, by using the transformation constraint instead.

From the Stack Exchange Post:

In order to transfer a rotation from one axis to another, you need to use the transformation constraint. That way, you can map the transformations from one object to another one. You can as well change the source axis of the transfered transformations.

In your case, you want to read the X rotation transforms of the circle and convert them into rotations on the Z axis for the object, so you’ll have to use these parameters :

enter image description here

enter image description here