Wheel
The Wheel automates the rotation of the layer depending on its translations.
Setup
- Select the layer
- Click on the Wheel button
You can adjust the parameters of the Wheel in the effects of the layer.
Effect
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.
When the trajectory is set to curved and you need some motion blur on the layer, you’ll have to raise a bit the Motion Blur Precision, but keep in mind that it has a (very) bad impact on performance.