Summary
Drivers are powerful tools that sit at a crossroads between animation, rigging, and programming. On one hand, they can contain Python expressions and implement custom mechanics on their own, while on the other hand, the entire driver setup process can be automated via scripting.
The tool we wrote in this chapter is a small auto-rig that replicates the same mechanism, with editable parameters, on any Blender object.
The ability to combine drivers, constraints, and custom properties, as well as automate the whole procedure, is an essential part of 3D production as it allows non-technical users to carry on with technical tasks.
As a plus, by using Python, we converted a formula from physics into a working driver expression, a task that can sometimes be intimidating but can be carried out with observation and a little ingenuity.
This topic ends our tour of the animation system. In the next chapter, Chapter 10, we will learn how our operators can interact with the user...