Custom Toggles
Last updated
Last updated
Here I'll teach you how to use the custom toggles found under Controls > Workflow
.
If your rig has a feature that you want to integrate into the rig then this is the place to do it, it's not that hard however it's easy to mess it up so read carefully.
To begin we will decide which toggle we want to use, for a full in-depth guide on them read this. In our case we're going to be using Toggle 2
as we do not want it on by default.
I want our custom toggle to toggle the visibility of my custom mesh so we're going to click on the mesh and go to the object properties panel.
Next we're going to find the Visibility
expandable and open it, you should now see two check boxes inside of it named Viewports
and Renders
, those are the two we're going to be working with.
Right-Click on the Viewports
box and click Add Driver
and then at the bottom click Show in Drivers Editor
. (If you accidentially closed the menu or something right-click again on the button and click Open Drivers Editor
)
We're now going to replace var + False
with our own code just called 1 - var
. (This will make sure its hidden by default)
Next change the type of variable to single property.
In the Prop:
field select the rig, by default it will be named Ice Cube v1.1.0
.
A new field should appear named Path:
, in this field we're going to insert ["NAME"]
and replace NAME
with our toggle, which is toggle_2
.
The final step is to right-click on the Viewports
button again, click Copy Driver
, right-click on the Renders
button and select Paste Driver