问题排查

使用驱动器时可能遭遇一些常见问题。

脚本表达式

../../_images/animation_drivers_troubleshooting_autorun-graph-editor.png

A security warning in the Drivers panel.

../../_images/advanced_scripting_security_autorun-scripts-dialog.png

信息编辑器标题栏中的自动执行警告。

By default Blender will restrict execution of Python scripts.

If using a Scripted Expression Driver Type that doesn't follow the Simple Expressions subset, you will have to open the file as Trusted Source, or set Auto Run Python Scripts in Preferences ‣ Save & Load ‣ Blender Files.

../../_images/animation_drivers_troubleshooting_autorun-file-browser.png

文件浏览器中的受信任源复选框。

../../_images/animation_drivers_troubleshooting_autorun-user-preference.png

用户设置中的自动执行Python脚本复选框。

旋转属性是弧度制

Blender的各个用户界面可能会对角度、旋转使用不同的度量单位。在曲线编辑器中,使用驱动器时,所有的角度都是弧度制。