About HairWorks and Unreal 4
HairWorks UE4 Tutorial
Tutorial - UE4 - Manjaladon
This process can be repeated using the Furball asset instead of the manjaladon asset. This can be found in the HairWorks media directory.
Start UE4
Load HairWorks Project
In content browser - Go to GDC 2016/Manjaladon
- Right Click and select Import Asset
- Browse to HairWorks Viewer samples files
- Media\Manjaladon\3dsMax\manjaladon_wFur.apx or an edited version of the manjaladon .apx saved from the HairWorks Viewer, 3dsMax, or Maya
Double clicking on the Asset allows you to to make further edits, make texture connections, etc.
Open the Bull_NoFur BluePrint
- The skeletal mesh has already been added and named body.
On the Add Component menu, add a HairWorks component.
Make sure that the HairWorks component is a child of the skeletal mesh, body. If it is not, drag it onto Body to rearrange the hierarchy.
Select the HairWorks component. In the details panel, all of the HairWorks attributes available on the HairWorks asset are now available on the HairWorks component.
In the content browser, select the HairWorks asset. Connect it to the BluePrint Component in the Asset frame labeled Hair.
- Note that all HairWorks attributes are greyed out and disabled. In this configuration, the HairWorks component uses all the settings from the HairWorks asset, so changes should be made on the asset.
- Asset changes will be reflected without saving the asset, therefore you can see the BluePrint Component update as soon as attributes are committed!
- Using an Asset centric approach is only one way to add HairWorks to characters.
Now we will explore a Component based approach.
- Select the BluePrint component
- In the Asset frame, enable Override.
- Now all attributes are edited on the HairWorks Component. The values are defaulted to the values that are on the HairWorks Asset. Resetting any attribute, resets back to the asset.
- After using either method to edit the BluePrint Actor, compile and save the BluePrint
- Open the map Content\Maps\Samples\Blank_ReadyForHairWorks
- Drag the Bull BluePrint Actor into the map.
- Play Map