Variation of the same hairstyle depending on hats

Hi!

​I creating outfits and hairstyles for modular character.

For example, if i have 2 variations of the same hairstyle: FIRST with bangs and pigtails and SECOND only with bangs. Players can wear, for example beanie, so pigtails will go through the beanie, so it is non-realistic. But bangs hanging from under the beanie is realistic. How to make that so player cant choose FIRST variation of hairstyle while wearing a beanie, but can choose SECOND variation.

Is it possible to realise this?

Yes, this is posible. Maybe a bit tedious,but not that difficult in therory.

If you’re using a data table to store the hair options, you could have fields for the hat and non-hat meshes. Then on the character customization widget, add a button which sets a bool called UseHatFriendlyHair? or something. While generating the list or grid of widgets that equip or preview the hair, use the new bool to select the relevant mesh from the data table row.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.