I am trying to rig a wheel rolling around in any direction, and have it rotate automatically when moving using an armature. The Transformation Constraint seems to be ideal for this, however it does only work on one global axis. I broke it down to this simple example with just a simple “wheel” and a bone controlling it:
(Also I did not figure out how to make a gif out of Blender viewport, so I had to render it and create in Gimp.)
So at first the wheel rolls correctly with the bone along the Y axis. Then the bone rotates together with the wheel by 90° and starts moving again. Here I did not manage to have the wheel roll along the X axis. However, moving along the Y axis again makes the wheel rotate wrongly now.
Here is the setup I would expect to work:
I suspect there is a bug in the Space settings of the Transformation Constraint; I cannot make it work with any cominbation of these.
Does anyone have an idea how to make this work?
I also attach the blend file of this example for easy trying out.
WheelRig.blend (578.2 KB)
Thanks a lot of any hint!