Skip to main content

Changing Properties with Radial Control

In this guide, we will make a radial in the menu to make Moe's Big Ear blendshape changes from 0 to 100.

0. Create a menu group and a smart control item

This guide requires you to have an existing menu group ready. Follow this guide to create a new menu group.

You can create one directly from the menu group component, or alternatively create a new GameObject under that menu group and add the DT Smart Control component.

Add SmartControl

1. Set up the menu item driver

caution

There is a problem in the UI currently so you must change the control type to Motion Time first before you can change the menu item to Radial.

Set the control to Motion Time first.

Control Type

Make sure the driver is Menu Item and the type is Radial. Customize the name and icon as you like.

Menu Item

2. Create a property group

Create Property Group

3. Drag the Ear object to the fields

Make sure the selection type is Normal. Drag the Ear object to the add field of Include these objects and Pick Properties From.

Pick Object

info

For more details about property groups, check here.

4. Add the blendshape property

Find the SkinnedMeshRenderer component and click on Blendshapes. And find the Big ear blendshape and add it.

Pick Object

5. Map the blendshape values

The from and to values map to the float parameter of the radial control from 0.0 to 1.0.

Pick Object

6. Done!

Enter play mode and test the result!

Result