Blender Driver Scripted Expression Tutorial
We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent.
Drivers can be added to properties via their context menu, a shortcut, copy-pasted,or by typing an expression directly into the property’s value.
Aug 20, 2012 In this tutorial you will learn how to use drivers in blender in order to animate car's wheels. Drivers allow you to control an object's transformation such as grab, rotate, scale etc.
After adding drivers, they are usually modified in the Drivers editor,or via a simplified Edit Driver popover invoked from the property context menu.
Add Driver¶
Reference
Context menu ‣ Add Driver
Ctrl-D
The usual way to add a driver to a property is to RMB click a property,then choose Add Driver in the context menu.Drivers can also be added by pressing Ctrl-D with the mouse over the property.
This operation adds a driver with a single variable (which needs to be filled in),and displays the Edit Driver popover.
Edit Driver¶
Displays a popover window that allows editing the custom expression and input variablesof the driver without opening the full Drivers Editor.
Many drivers don’t use their F-Curvecomponent, so this reduced interface is sufficient.
Open Drivers Editor¶
Opens a new window with the Drivers Editor andselects the driver associated with the property.
Copy & Paste¶
Reference
Context menu ‣ Copy Driver
Context menu ‣ Paste Driver
Drivers can be copied and pasted via the context menu.When adding drivers with the same settings, this can save time modifying settings.
Copy As New Driver¶
A driver that sets the property value to the value of a different property can bequickly created by using the Copy As New Driver context menu option of the inputproperty, and then pasting the result onto the output property via Paste Driver.
It is also possible to add the new driver variable to an existing driver usingthe Paste Driver Variables button in the editor panel.
Expression¶
This is a quick way to add drivers with a scripted expression.First click the property you want to add a driver to, then type a hash #
and a scripted expression.
Some examples:
Fisher-Price Time To Play Dollhouse - PC for PC & Mac, Windows, OSX, and Linux. Time to Play Dollhouse invites children to enter Fisher-Price's Loving Family Dollhouse and share in a number of role-playing activities, like tea parties and dress-up get-togethers. Fisher price time to play dollhouse download.
#frame
#frame/20.0
#sin(frame)
#cos(frame)
Removing Drivers¶
Reference
Context menu ‣ Delete Driver(s)
Context menu ‣ Delete Single Driver
Ctrl-Alt-D
Removes driver(s) associated with the property, either for the single selected propertyor sub-channel, or all components of a vector.