The “Wheel” automates the rotation of the layer depending on its translations.
- Select the layer
- Click on the “Wheel” button
You can adjust the parameters of the wheel in the effects of the layer.
Duik will try to autodetect the radius of the wheel, but in some cases it is not possible. You can set it, in pixels. If you do not know the exact radius, you can add a null object on the border of the layer and use the “measure distance” tool (in the rigging panel).
The reverse button can be used if the wheel rolls on the roof… Who knows? This can be useful in some cases.
There are two ways to compute the rotation: if the trajectory is horizontal, it is faster to compute, but if the wheel follows a curve, you have to adjust the setting, and it’s a bit heavier for After Effects to compute.