How to change the hairstyle of a didimo using the menu options
Step By Step
How to change the hairstyle of a didimo using the menu options
Menu Scripts: Add or change the hairstyle and color
Find the menu option to switch a didimo's hairstyle.
Window > Didimo > Change hairstyle
Fill in the reference to the didimo instance on the current scene.
Fill in the reference to the didimo's asset folder that you created when importing the didimo into the project assets.
Change the hairstyle by selecting one of the options in the hairstyles dropdown.
Change the hair color by selecting one of the options in the colors dropdown.
The hairstyle with matching color is instantiated in the correct position inside the rig.
Manual Steps: Add or change the hairstyle
The script presented immediately above handles the instantiation of the hairstyle in the correct position inside the rig, and applies the required shader customisation according to the selected color. Next, we describe the steps involved in changing a hairstyle, as a manual alternative, for completeness.
Find the hairstyle prefab options in your project assets.
Assets > (...Imported didimo folder...)) > HairPrefabs
Drag and drop the prefab on the didimo game object in the scene by placing it under the head joint of the rig and reset any transformations, so it is correctly positioned and can follow rig movements.
If you need to change the hairstyle just replace this game object in the scene
Change the hair color
This method of drag and drop doesn't apply an haircap to the didimo, which may leave some transparency gaps visible. Use the menu option that we described before to "Changing the hairstyle" and apply a color.
Last updated on 2020-10-06