The first step is to create the clothing asset in Blender. Start by designing the clothing using Blender’s powerful modeling and sculpting tools. Ensure that the clothing fits the base UMA character properly and looks realistic. Once the clothing asset is ready, it’s time to prepare it for export.
In Blender, go to the “File” menu and select “Export”. Choose the appropriate file format for Unity, such as .fbx or .obj. It’s recommended to use the .fbx format as it retains important material and rig information. Provide a suitable name for the exported file and select the destination folder where you want to save it. Click on the “Export” button to finalize the export process.
Next, let’s move to Unity and import the UMA package. Open Unity and create a new project or open an existing one. If you don’t have the UMA package, you can download it from the Unity Asset Store. Import the UMA package into your project by going to “Assets” -> “Import Package” -> “Custom Package”. Select the UMA package file (.unitypackage) and click on “Import”.
Now that the UMA package is imported, it’s time to import the clothing asset. In the Unity project window, locate the folder where you exported the clothing asset from Blender. Drag and drop the exported file into the project window to import it into Unity. Unity will automatically create a new asset for the clothing.
With the clothing asset imported, it’s time to assign it to the UMA character. Locate the UMA character prefab in the project window and drag it into the scene. Select the UMA character in the scene and go to the “Inspector” window. Scroll down to the “Dynamic DNA” component and expand it. Locate the “wardrobe” section and click on the “+” button to add a new wardrobe slot.
In the “Wardrobe Slot” field, drag and drop the clothing asset that you imported earlier. Unity will automatically assign the clothing to the UMA character’s wardrobe. To see the clothing on the character, click on the “Play” button or enter the “Play Mode”. You should now be able to see the UMA character wearing the exported clothing in the Unity Game view.
In conclusion, exporting UMA clothing from Blender to Unity is a relatively straightforward process. By following the steps outlined in this blog post, you can create visually appealing clothing assets in Blender and seamlessly integrate them into your Unity projects.