How to get curve to twist with the hooked object? I have a curve using a &quot;squared&quot; circle as a bevel object to get a square-profile tube.
The two last control points of the curve are hooked to an object.
When I rotate that object around Y and Z axes, the &quot;tube&quot; follows nicely:


but around X axis the &quot;tube&quot; does not follow the object's rotation completely (it does not twist around X axis):

Is there a way to get the curve twist along all three axes together with the object it is hooked to?
There is an option to tilt curve control point (Curve -&gt; Control Points -&gt; Tilt) but that has to be done manually. Maybe somehow tying that tilt to the object ...?
I am open to all sorts of solutions as long as it allows moving and rotating the hooked object and the &quot;tube&quot; follows it.
Here is the file I used for the example screenshots:
You can add a driver to the Tilt of the point.

Select the desired point and add a driver to it's Tilt.



Then go to the driver editor and do ass follow:



Now when you rotate the object the curve rotate too.